Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local on = false
- game:GetService("UserInputService").InputBegan:connect(function(a)
- if a.KeyCode == Enum.KeyCode.LeftControl and not on then
- on = true
- warn("ok")
- elseif a.KeyCode == Enum.KeyCode.LeftControl and on then
- warn("not k")
- on = false
- end
- end)
- game:GetService('RunService').Stepped:connect(function()
- if on then
- spawn(function()
- for i,v in pairs(game.Players:GetPlayers()) do
- if on and v.Character and v.Character:FindFirstChild("HumanoidRootPart") and game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame
- wait(0.1)
- end
- end
- end)
- game:service('ReplicatedStorage'):WaitForChild("RemoteEvent"):FireServer({"Skill_KillingIntent_Start"})
- game:service('ReplicatedStorage'):WaitForChild("RemoteEvent"):FireServer({"Skill_KillingIntent_End"})
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement