Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local AUTOEXECUTE = true;
- local AUTOEXECUTE_KEY = "t";
- local DISPLAYNAPES = false;
- local NAPECOLOR = BrickColor.Red();
- local NAPETRANSPARENCY = 0.35;
- if DISPLAYNAPES then
- for i, v in next, workspace.Titans:children() do
- if v:FindFirstChild("Nape") then
- v.Nape.BrickColor = NAPECOLOR;
- v.Nape.Transparency = NAPETRANSPARENCY;
- end
- end
- end
- local m = game.Players.LocalPlayer:GetMouse();
- local char = game.Players.LocalPlayer.Character;
- if AUTOEXECUTE then
- m.KeyDown:connect(function(k)
- if k == AUTOEXECUTE_KEY then
- local targ = m.Target;
- if targ and targ.Parent.Parent == workspace.Titans then
- targ = targ.Parent;
- game.Players.LocalPlayer.Backpack.Input:FireServer("m1", {mousehit = m.Hit})
- wait()
- coroutine.wrap(function()
- for i = 1, 15 do
- wait()
- char.HumanoidRootPart.CFrame = targ.Nape.CFrame;
- end
- end)()
- game.Players.LocalPlayer.Backpack.Input:FireServer("m|off", {mousehit = m.Hit})
- end
- end
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement