
KeylessUniversal

-- c00lkid Jumpscare Script
-- Jumpscare Function
function doJumpscare()
local player = game.Players.LocalPlayer
local character = player.Character
if character then
local humanoid = character:FindFirstChildOfClass("Humanoid")
if humanoid then
-- Create a Jumpscare ScreenGui
local jumpscareGui = Instance.new("ScreenGui")
jumpscareGui.Name = "JumpscareGui"
jumpscareGui.Parent = player.PlayerGui
local imageLabel = Instance.new("ImageLabel")
imageLabel.Size = UDim2.new(1, 0, 1, 0)
imageLabel.Position = UDim2.new(0, 0, 0, 0)
imageLabel.BackgroundTransparency = 1
imageLabel.Image = "rbxassetid://123456789" -- REPLACE WITH YOUR JUMPSCARE IMAGE ASSET ID
imageLabel.ImageColor3 = Color3.new(1, 1, 1)
imageLabel.Parent = jumpscareGui
-- Play a jumpscare sound
local sound = Instance.new("Sound")
sound.SoundId = "rbxassetid://987654321" -- REPLACE WITH YOUR JUMPSCARE SOUND ASSET ID
sound.Volume = 1
sound.Parent = character
sound:Play()
-- Shake the camera
local camera = game.Workspace.CurrentCamera
local originalCFrame = camera.CFrame
local shakeMagnitude = 0.5
for i = 1, 10 do
camera.CFrame = originalCFrame * CFrame.new(math.random() * shakeMagnitude - shakeMagnitude/2, math.random() * shakeMagnitude - shakeMagnitude/2, math.random() * shakeMagnitude - shakeMagnitude/2)
wait(0.05)
end
camera.CFrame = originalCFrame
-- Briefly display the image, then remove it
wait(0.5)
jumpscareGui:Destroy()
end
end
end
-- Keybind for Jumpscare (e.g., press 'J')
game:GetService("UserInputService").InputBegan:Connect(function(input, gameProcessedEvent)
if input.KeyCode == Enum.KeyCode.J and not gameProcessedEvent then
doJumpscare()
end
end)
-- Fly Script
local flying = false
local flySpeed = 50
game:GetService("UserInputService").InputBegan:Connect(function(input, gameProcessedEvent)
if input.KeyCode == Enum.KeyCode.F and not gameProcessedEvent then -- Press 'F' to toggle fly
local player = game.Players.LocalPlayer
local character = player.Character
if character then
local humanoid = character:FindFirstChildOfClass("Humanoid")
if humanoid then
flying = not flying
if flying then
humanoid.PlatformStand = true
local bodyVelocity = Instance.new("BodyVelocity")
bodyVelocity.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
bodyVelocity.Velocity = Vector3.new(0, 0, 0)
bodyVelocity.Parent = character.HumanoidRootPart
local connection = game:GetService("RunService").RenderStepped:Connect(function()
local direction = Vector3.new(0,0,0)
if game:GetService("UserInputService"):IsKeyDown(Enum.KeyCode.W) then direction = direction + character.HumanoidRootPart.CFrame.lookVector end
if game:GetService("UserInputService"):IsKeyDown(Enum.KeyCode.S) then direction = direction - character.HumanoidRootPart.CFrame.lookVector end
if game:GetService("UserInputService"):IsKeyDown(Enum.KeyCode.A) then direction = direction - character.HumanoidRootPart.CFrame.rightVector end
if game:GetService("UserInputService"):IsKeyDown(Enum.KeyCode.D) then direction = direction + character.HumanoidRootPart.CFrame.rightVector end
if game:GetService("UserInputService"):IsKeyDown(Enum.KeyCode.Space) then direction = direction + Vector3.new(0,1,0) end
if game:GetService("UserInputService"):IsKeyDown(Enum.KeyCode.LeftControl) then direction = direction - Vector3.new(0,1,0) end
bodyVelocity.Velocity = direction.unit * flySpeed
end)
character.HumanoidRootPart.ChildRemoved:Connect(function(child)
if child == bodyVelocity then
connection:Disconnect()
end
end)
else
humanoid.PlatformStand = false
local bodyVelocity = character.HumanoidRootPart:FindFirstChildOfClass("BodyVelocity")
if bodyVelocity then
bodyVelocity:Destroy()
end
end
end
end
end
end)
-- Fast Run Script
local originalWalkSpeed = nil
local fastRunSpeed = 60
local fastRunning = false
game:GetService("UserInputService").InputBegan:Connect(function(input, gameProcessedEvent)
if input.KeyCode == Enum.KeyCode.LeftShift and not gameProcessedEvent then -- Hold Left Shift to fast run
local player = game.Players.LocalPlayer
local character = player.Character
if character then
local humanoid = character:FindFirstChildOfClass("Humanoid")
if humanoid then
if not originalWalkSpeed then
originalWalkSpeed = humanoid.WalkSpeed
end
humanoid.WalkSpeed = fastRunSpeed
fastRunning = true
end
end
end
end)
game:GetService("UserInputService").InputEnded:Connect(function(input, gameProcessedEvent)
if input.KeyCode == Enum.KeyCode.LeftShift and not gameProcessedEvent then -- Release Left Shift to stop fast running
local player = game.Players.LocalPlayer
local character = player.Character
if character and fastRunning then
local humanoid = character:FindFirstChildOfClass("Humanoid")
if humanoid and originalWalkSpeed then
humanoid.WalkSpeed = originalWalkSpeed
fastRunning = false
end
end
end
end)
-- Teleport Script (Teleport to Mouse Click Location)
game:GetService("UserInputService").InputBegan:Connect(function(input, gameProcessedEvent)
if input.UserInputType == Enum.UserInputType.MouseButton1 and not gameProcessedEvent then -- Left click to teleport
local player = game.Players.LocalPlayer
local character = player.Character
if character then
local mouse = player:GetMouse()
if mouse.Target and mouse.Hit then
character.HumanoidRootPart.CFrame = CFrame.new(mouse.Hit.p + Vector3.new(0, character.HumanoidRootPart.Size.Y / 2, 0))
end
end
end
end)
-- Jumpscare when a player gets close (example - customize as needed)
local jumpscareRange = 20
game:GetService("RunService").Heartbeat:Connect(function()
local player = game.Players.LocalPlayer
local character = player.Character
if character and character:FindFirstChild("HumanoidRootPart") then
local playerRoot = character.HumanoidRootPart
for _, otherPlayer in ipairs(game.Players:GetPlayers()) do
if otherPlayer ~= player and otherPlayer.Character and otherPlayer.Character:FindFirstChild("HumanoidRootPart") then
local otherPlayerRoot = otherPlayer.Character.HumanoidRootPart
if (playerRoot.Position - otherPlayerRoot.Position).magnitude < jumpscareRange then
-- Trigger jumpscare for the local player
doJumpscare()
break -- Only trigger once per proximity event
end
end
end
end
end)
-- Simple Jump Power Increase (as a basic "jumpscare" option if desired, though the function above is more robust)
local originalJumpPower = nil
local boostedJumpPower = 100 -- Default jump power is 50, so 100 is a significant boost
game:GetService("UserInputService").InputBegan:Connect(function(input, gameProcessedEvent)
if input.KeyCode == Enum.KeyCode.K and not gameProcessedEvent then -- Press 'K' to activate super jump
local player = game.Players.LocalPlayer
local character = player.Character
if character then
local humanoid = character:FindFirstChildOfClass("Humanoid")
if humanoid then
if not originalJumpPower then
originalJumpPower = humanoid.JumpPower
end
humanoid.JumpPower = boostedJumpPower
end
end
end
end)
game:GetService("UserInputService").InputEnded:Connect(function(input, gameProcessedEvent)
if input.KeyCode == Enum.KeyCode.K and not gameProcessedEvent then -- Release 'K' to return to normal jump
local player = game.Players.LocalPlayer
local character = player.Character
if character and originalJumpPower then
local humanoid = character:FindFirstChildOfClass("Humanoid")
if humanoid then
humanoid.JumpPower = originalJumpPower
end
end
end
end)
print("c00lkid script loaded: Jumpscare (J), Fly (F), Fast Run (Left Shift), Teleport (Left Click), Super Jump (K)")No comments yet for this script.



