Advertisement
Guest User

Untitled

a guest
May 28th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.90 KB | None | 0 0
  1. n = "deemontae"
  2. p = Instance.new("Part", game.Workspace.deemontae)
  3. p.Name = "Shield"
  4. p.Size = Vector3.new(55, 55, 55)
  5. p.Transparency = "0.4"
  6. p.Material = "Plastic"
  7. p.CanCollide = false
  8. p.Shape = "Ball"
  9. p.Anchored = true
  10.  
  11. func = 0
  12.  
  13. function talk(msg)
  14. if (msg == "idle") then
  15. func = 0
  16. elseif (msg == "kick") then
  17. func = 1
  18. elseif (msg == "kill") then
  19. func = 2
  20. elseif (msg == "ragdoll") then
  21. func = 3
  22. elseif (msg == "sit") then
  23. func = 4
  24. elseif (msg == "fire") then
  25. func = 5
  26. elseif (msg == "punish") then
  27. func = 6
  28. elseif (msg == "ff") then
  29. func = 7
  30. end
  31. end
  32.  
  33. game.Players.ic3w0lf589.Chatted:connect(talk)
  34.  
  35. function onTouched(part)
  36. if func == 0 then
  37. wait(0)
  38. end
  39. if func == 1 then
  40. local h = part.Parent:FindFirstChild("Humanoid")
  41. if h then
  42. if part.Parent.Name == n then
  43. else
  44. part:Remove()
  45. end
  46. end
  47. end
  48. if func == 2 then
  49. local h = part.Parent:FindFirstChild("Humanoid")
  50. if h then
  51. if part.Parent.Name == n then
  52. else
  53. h.Health = "0"
  54. end
  55. end
  56. end
  57. if func == 3 then
  58. local h = part.Parent:FindFirstChild("Humanoid")
  59. if h then
  60. if part.Parent.Name == n then
  61. else
  62. h.Parent = game.Lighting
  63. end
  64. end
  65. end
  66. if func == 4 then
  67. local h = part.Parent:FindFirstChild("Humanoid")
  68. if h then
  69. if part.Parent.Name == n then
  70. else
  71. h.Sit = true
  72. end
  73. end
  74. end
  75. if func == 5 then
  76. local h = part.Parent:FindFirstChild("Humanoid")
  77. if h then
  78. if part.Parent.Name == n then
  79. else
  80. Instance.new("Fire", part.Parent.Torso)
  81. end
  82. end
  83. end
  84. if func == 6 then
  85. local h = part.Parent:FindFirstChild("Humanoid")
  86. if h then
  87. if part.Parent.Name == n then
  88. else
  89. part.Parent.Parent = game.Lighting
  90. end
  91. end
  92. end
  93. if func == 7 then
  94. local h = part.Parent:FindFirstChild("Humanoid")
  95. if h then
  96. if part.Parent.Name == n then
  97. else
  98. local ff = Instance.new("ForceField")
  99. ff.Parent = game.Players:FindFirstChild(part.Parent.Name)
  100. end
  101. end
  102. end
  103. end
  104.  
  105. p.Touched:connect(onTouched)
  106.  
  107. while true do
  108. wait(0.000000000000001)
  109. p.CFrame = game.Workspace.ic3w0lf589.Torso.CFrame
  110. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement