Kotyara19k-Official

Credits:Blue2Spooky

Mar 31st, 2025
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. local player = game.Players.LocalPlayer
  2. local char = player.Character or player.CharacterAdded:Wait()
  3. local tool
  4.  
  5.  
  6. for i,v in player:GetDescendants() do
  7. if v.Name == "SyncAPI" then
  8. tool = v.Parent
  9. end
  10. end
  11.  
  12.  
  13. remote = tool.SyncAPI.ServerEndpoint
  14. function _(args)
  15. remote:InvokeServer(unpack(args))
  16. end
  17.  
  18. function SetCollision(part,boolean)
  19. local args = {
  20. [1] = "SyncCollision",
  21. [2] = {
  22. [1] = {
  23. ["Part"] = part,
  24. ["CanCollide"] = boolean
  25. }
  26. }
  27. }
  28. _(args)
  29. end
  30.  
  31.  
  32. function AddFireToHands()
  33. local rightHand = char:WaitForChild("Right Arm")
  34. local leftHand = char:WaitForChild("Left Arm")
  35.  
  36.  
  37. local args = {
  38. [1] = "CreateDecorations",
  39. [2] = {
  40. [1] = {
  41. ["Part"] = rightHand,
  42. ["DecorationType"] = "Fire"
  43. }
  44. }
  45. }
  46. _(args)
  47.  
  48. local args2 = {
  49. [1] = "CreateDecorations",
  50. [2] = {
  51. [1] = {
  52. ["Part"] = leftHand,
  53. ["DecorationType"] = "Fire"
  54. }
  55. }
  56. }
  57. _(args2)
  58. end
  59.  
  60.  
  61. AddFireToHands()
  62.  
Advertisement
Add Comment
Please, Sign In to add comment