Advertisement
HenloMyDude

antithingyfatgaynoobs

Aug 21st, 2019
305
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.12 KB | None | 0 0
  1.  
  2.  
  3. --A small part, here with a message!--
  4.  
  5. local Player = game:GetService("Players"):FindFirstChild(owner.Name)
  6. local Character = Player.Character
  7.  
  8. sine = 0
  9. change = 1
  10. sin = math.sin
  11. Cos = math.cos
  12.  
  13. local Model = Instance.new("Model",script)
  14. Model.Name = "im sorry game_fixing"
  15. local Part = Instance.new("Part",Model)
  16. Part.Size = Vector3.new(1, 1, 1)
  17. Part.Name = "Head"
  18. Part.Anchored = true
  19. Part.Orientation = Vector3.new(90, 0, 0)
  20. local Humanoid = Instance.new("Humanoid",Model)
  21. Humanoid.Name = "Humanoid"
  22.  
  23. Player.Chatted:connect(function(msg)
  24. Model.Name = msg
  25. end)
  26.  
  27. function hammermesh(part)
  28. local Mesh = Instance.new("SpecialMesh",part)
  29. Mesh.MeshId = "rbxassetid://10604848"
  30. Mesh.TextureId = "rbxassetid://10605252"
  31. return Mesh
  32. end
  33.  
  34. function hammertime(player)
  35. local pee = player
  36. local hammer = Instance.new("Part",pee.Character)
  37. hammer.Size = Vector3.new(2, 5, 4)
  38. hammer.Anchored = false
  39. hammer.Position = pee.Character.HumanoidRootPart.Position + Vector3.new(0, 15, 0)
  40. local Mesh = Instance.new("SpecialMesh",hammer)
  41. Mesh.MeshId = "rbxassetid://10604848"
  42. Mesh.TextureId = "rbxassetid://10605252"
  43. Mesh.Scale = Vector3.new(1, 1, 1)
  44. coroutine.resume(coroutine.create(function()
  45. while true do
  46. Swait()
  47. hammer.Orientation = hammer.Orientation + Vector3.new(10, 0, 0)
  48. end
  49. end))
  50. wait(2)
  51. pee.Character.Head:Destroy()
  52. hammer:Destroy()
  53. pee:LoadCharacter()
  54. end
  55.  
  56. function explode(player)
  57. local pee = player
  58. local explosion = Instance.new("Explosion",pee.Character)
  59. explosion.Position = pee.Character.Torso.Position
  60. pee.Character.Head:Destroy()
  61. wait(.5)
  62. pee:LoadCharacter()
  63. end
  64.  
  65. Player.Chatted:connect(function(message)
  66. if message:sub(1, 4) == "/die" then
  67. local gamer = game.Players:FindFirstChild(message:sub(6))
  68. local chara = gamer.Character
  69. hammertime(gamer)
  70. wait(.5)
  71. Model.Name = "Killed " ..gamer.Name .."."
  72. end
  73. end)
  74.  
  75. function detect()
  76. for _,v in pairs (game.Players:children()) do
  77. if v:IsA("Player") then
  78. if v.Character:FindFirstChild("Hammer") then --big ban
  79. v.Character:FindFirstChild("Hammer"):Destroy()
  80. local decider = math.random(1, 2)
  81. local candie = true
  82. if decider == 1 and candie == true then
  83. hammertime(v)
  84. candie = false
  85. end
  86. if decider == 2 and candie == true then
  87. explode(v)
  88. candie = false
  89. end
  90. end
  91. if v.Character:FindFirstChild("OofHead") then
  92. local decider = math.random(1, 2)
  93. local candie = true
  94. if decider == 1 and candie == true then
  95. hammertime(v)
  96. candie = false
  97. end
  98. if decider == 2 and candie == true then
  99. explode(v)
  100. candie = false
  101. end
  102. end
  103. if v.PlayerGui:FindFirstChild("RequireGUI") then --pityhub
  104. v.PlayerGui:FindFirstChild("RequireGUI").ToggleButton.Text = "destroyed skid"
  105. v.PlayerGui:FindFirstChild("RequireGUI").ToggleButton:ClearAllChildren()
  106. end
  107. if v.Character:FindFirstChild("Banzai Bazooka") then --banzai bazooka
  108. local decider = math.random(1, 2)
  109. local candie = true
  110. if decider == 1 and candie == true then
  111. hammertime(v)
  112. candie = false
  113. end
  114. if decider == 2 and candie == true then
  115. explode(v)
  116. candie = false
  117. end
  118. end
  119. if v.Character:FindFirstChild("Goner") then --goner
  120. local decider = math.random(1, 2)
  121. local candie = true
  122. if decider == 1 and candie == true then
  123. hammertime(v)
  124. candie = false
  125. end
  126. if decider == 2 and candie == true then
  127. explode(v)
  128. candie = false
  129. end
  130. end
  131. if v.Character:FindFirstChild("Shini-G4-MI") then --shini-g4-mi
  132. local decider = math.random(1, 2)
  133. local candie = true
  134. if decider == 1 and candie == true then
  135. hammertime(v)
  136. candie = false
  137. end
  138. if decider == 2 and candie == true then
  139. explode(v)
  140. candie = false
  141. end
  142. end
  143. if v.Character:FindFirstChild("Name") then --jevil
  144. local decider = math.random(1, 2)
  145. local txtdec = math.random(1, 5)
  146. local textd = false
  147. local candie = true
  148. local textf = v.Character:FindFirstChild("Name").TextLabel
  149. if txtdec == 1 and textd == false then
  150. textd = true
  151. textf.Text = "nah skid"
  152. end
  153. if txtdec == 2 and textd == false then
  154. textd = true
  155. textf.Text = "hi there jester"
  156. end
  157. if txtdec == 3 and textd == false then
  158. textd = true
  159. textf.Text = "no"
  160. end
  161. if txtdec == 4 and textd == false then
  162. textd = true
  163. textf.Text = "BEGONE"
  164. end
  165. if txtdec == 5 and textd == false then
  166. textd = true
  167. textf.Text = " 'you are noT wELCome heERE, " ..v.Name .."."
  168. end
  169. wait(1)
  170. if decider == 1 and candie == true then
  171. hammertime(v)
  172. candie = false
  173. end
  174. if decider == 2 and candie == true then
  175. explode(v)
  176. candie = false
  177. end
  178. end
  179. if v.Character:FindFirstChild("_status") then --notive
  180. local decider = math.random(1, 2)
  181. local txtdec = math.random(1, 5)
  182. local textd = false
  183. local candie = true
  184. local textf = v.Character:FindFirstChild("_status").TextLabel
  185. textf.Parent:Destroy()
  186. local textf = v.Character:FindFirstChild("_status").TextLabel
  187. if txtdec == 1 and textd == false then
  188. textd = true
  189. textf.Text = "nah skid"
  190. end
  191. if txtdec == 2 and textd == false then
  192. textd = true
  193. textf.Text = "get rekt skid"
  194. end
  195. if txtdec == 3 and textd == false then
  196. textd = true
  197. textf.Text = "no"
  198. end
  199. if txtdec == 4 and textd == false then
  200. textd = true
  201. textf.Text = "BEGONE"
  202. end
  203. if txtdec == 5 and textd == false then
  204. textd = true
  205. textf.Text = " 'you are noT wELCome heERE, " ..v.Name .."."
  206. end
  207. wait(1)
  208. if decider == 1 and candie == true then
  209. hammertime(v)
  210. candie = false
  211. end
  212. if decider == 2 and candie == true then
  213. explode(v)
  214. candie = false
  215. end
  216. end
  217. end
  218. end
  219. end
  220.  
  221. ArtificialHB = Instance.new("BindableEvent", script)
  222. ArtificialHB.Name = "ArtificialHB"
  223.  
  224. script:WaitForChild("ArtificialHB")
  225.  
  226. Frame_Speed = 1/60
  227. frame = Frame_Speed
  228. tf = 0
  229. allowframeloss = false
  230. tossremainder = false
  231. lastframe = tick()
  232. script.ArtificialHB:Fire()
  233.  
  234. game:GetService("RunService").Heartbeat:connect(function(s, p)
  235. tf = tf + s
  236. if tf >= frame then
  237. if allowframeloss then
  238. script.ArtificialHB:Fire()
  239. lastframe = tick()
  240. else
  241. for i = 1, math.floor(tf / frame) do
  242. script.ArtificialHB:Fire()
  243. end
  244. lastframe = tick()
  245. end
  246. if tossremainder then
  247. tf = 0
  248. else
  249. tf = tf - frame * math.floor(tf / frame)
  250. end
  251. end
  252. end)
  253.  
  254. function Swait(NUMBER)
  255. if NUMBER == 0 or NUMBER == nil then
  256. ArtificialHB.Event:wait()
  257. else
  258. for i = 1, NUMBER do
  259. ArtificialHB.Event:wait()
  260. end
  261. end
  262. end
  263.  
  264. while true do
  265. Swait()
  266. sine = sine + change
  267. detect()
  268. Part.Material = "ForceField"
  269. Part.CFrame = Player.Character.HumanoidRootPart.CFrame * CFrame.new(4, -0.25 + 0.25 * Cos(sine / 12), 0) * CFrame.Angles(0, 1 + 1 * Cos(sine / 50), 0)
  270. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement