Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plr = game:GetService("Players").LocalPlayer
- local tool = plr.Character:FindFirstChildOfClass("Tool")
- local humanoid = plr.Character:FindFirstChildOfClass("Humanoid")
- tool.GripForward = Vector3.new(-0, -1, 0)
- tool.GripPos = Vector3.new(0.05, 0.75, -0)
- tool.GripRight = Vector3.new(0, -0, -1)
- tool.GripUp = Vector3.new(-1, 0, -0)
- tool.Parent = plr.Backpack
- wait()
- tool.Parent = plr.Character
- game:GetService("RunService").Stepped:Connect(function()
- if not tool:FindFirstChild("toolanim") then
- local Anim = Instance.new("StringValue")
- Anim.Name = "toolanim"
- Anim.Value = "Slash"
- Anim.Parent = tool
- wait()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement