Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Tool = script.Parent;
- enabled = true
- local bite = 0
- local function animate(ad,char)
- local animation = Instance.new("Animation")
- animation.AnimationId = ad
- local animtrack = char.Humanoid.Animator:LoadAnimation(animation)
- animtrack:Play()
- end
- function onActivated()
- if not enabled then
- return
- end
- enabled = false
- animate("rbxassetid://3507247671",Tool.Parent)
- wait(.2)
- Tool.GripRight = Vector3.new(0.613, 0.207, 0.353)
- wait(1.3)
- script.Parent.Handle.Transparency = 1
- wait(1)
- if script.Parent.Parent.trip.Value <= 4 then
- for i = 1,30 do
- wait(0.01)
- script.Parent.Parent.trip.Value = script.Parent.Parent.trip.Value + 0.01
- end
- end
- Tool.GripRight = Vector3.new(0.1, 0, -0.995)
- Tool.GripUp = Vector3.new(-0.034, 1, -0.004)
- enabled = true
- Tool:Destroy()
- end
- script.Parent.Activated:connect(onActivated)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement