Advertisement
plytalent

unequip sword

Apr 17th, 2019
288
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.53 KB | None | 0 0
  1. function unequip()
  2. attack = true
  3. equipped = false
  4. hum.WalkSpeed = 0
  5. chatfunc("Sword disabled", MAINRUINCOLOR.Color)
  6. tlr1.Enabled = false
  7. for i = 0, 2, 0.1 do
  8. swait()
  9. hum.CameraOffset = vt(math.random(-5,5)/50,math.random(-5,5)/50,math.random(-5,5)/50)
  10. waveEff(3,"Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,math.rad(math.random(-360,360)),0),vt(2,0.25,2),0.05,0.035,MAINRUINCOLOR)
  11. waveEff(3,"Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,math.rad(math.random(-360,360)),0),vt(5,0.25,5),0.05,0.015,MAINRUINCOLOR)
  12. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.2)
  13. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(10),math.rad(0)),.2)
  14. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-10)),.3)
  15. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2),math.rad(0),math.rad(-20)),.3)
  16. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-20),math.rad(-30),math.rad(130)),.3)
  17. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(-13),math.rad(10),math.rad(-10)),.3)
  18. end
  19. hum.WalkSpeed = 16
  20. OWS = hum.WalkSpeed
  21. tl1.Enabled = false
  22. CFuncs["Sound"].Create("rbxassetid://200633029", rarmor, 1, 1)
  23. weaponweld.C1=clerp(weaponweld.C1,cf(-5,-2,-1.75)*angles(math.rad(0),math.rad(0),math.rad(100)),.5)
  24. weaponweld.Part0 = tors
  25. attack = false
  26. for i ,v in pairs(Model0:GetChildren()) do
  27. if v:IsA("Part") then
  28. v.Transparency = 1
  29. end
  30. end
  31. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement