Advertisement
Jaden11

A new script --Roblox Script

Jan 19th, 2015
463
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.90 KB | None | 0 0
  1. wait()
  2. print("This script is made by TheHaxx00rr")
  3. print("DO NOT EDIT THIS SCRIPT!!!!")
  4.  
  5. attack = false
  6. hurt = false
  7. damage = true
  8.  
  9.  
  10. local player = game.Players.LocalPlayer
  11. local char = player.Character
  12.  
  13. mouse = game.Players.LocalPlayer:GetMouse()
  14.  
  15. for _,v in pairs(game.Players:GetPlayers()) do
  16. end
  17.  
  18. for _,v in pairs(game.Players:GetChildren()) do
  19. end
  20.  
  21. for _,v in pairs(table) do
  22. if table == "Skrub" then
  23. else
  24. table:remove()
  25. end
  26. end
  27.  
  28. for _,v in pairs(table) do
  29. if players == "noob" then
  30. else
  31. table:remove()
  32. end
  33. end
  34.  
  35. for _,players in pairs(table) do
  36. if table == "players" then
  37. else
  38. table:remove()
  39. end
  40. end
  41.  
  42. for i,v in pairs(table) do
  43. if table then
  44. table:remove()
  45. if players == "table" then
  46. table:remove()
  47. end
  48. end
  49. end
  50.  
  51.  
  52. for i,v in pairs(table) do
  53. if table then
  54. table:remove()
  55. if players == "player" then
  56. table:remove()
  57. end
  58. end
  59. end
  60.  
  61. function Part(CanCollide, Part, Anchor, X,Y,Z)
  62. prt = Instance.new("Part")
  63. prt.CanCollide=false
  64. prt.Anchored=true
  65. prt.Locked=true
  66. prt.Size=Vector3.new(2, 2, 2)
  67. prt:Breakjoints()
  68. prt.BrickColor=BrickColor.new("White")
  69. prt.Transparency=0.2;
  70. end
  71.  
  72. function Weld(x,y,z)
  73. w = Instance.new("Weld")
  74. w.Parent = game.Workspace;
  75. w.Part0 = Part0
  76. w.Part1 = Part1
  77. end
  78.  
  79. function CylinderMesh(Mesh)
  80. c = Instance.new("CylinderMesh")
  81. c.Name="Mesh"
  82. c.Parent=game.Workspace;
  83. c.Scale=1,1,1
  84. c.VertexColor=1,1,1
  85. c.Scale=X,Y,Z
  86. c.VertexColor=X,Y,Z
  87. end
  88.  
  89. function SpecialMesh(Mesh)
  90. sm = Instance.new("SpecailMesh")
  91. sm.MeshId = ""
  92. sm.Name="Mesh"
  93. sm.Parent=game.Workspace;
  94. sm.MeshType="Head"
  95. sm.Scale=X,Y,Z
  96. sm.TextureId=""
  97. end
  98.  
  99. function BlockMesh(Mesh)
  100. bm = Instance.new("BlockMesh")
  101. bm.Parent=game.Workspace;
  102. bm.Scale=X,Y,Z
  103. bm.OffSet=0,0,0
  104. bm.VertexColor=1,1,1,X,Y,Z
  105. end
  106.  
  107. Model = Instance.new("Model",workspace)
  108. Model.Name = "TheHaxx00rr Testing Lua script"
  109. Model.Parent = game.Workspace;
  110.  
  111.  
  112.  
  113. function damage(dmg, who)
  114. p = game.Players:FindFirstChild(who)
  115. if p and p.Character then
  116. f = Instance.new("Fire", p.Character.Torso)
  117. wait(3)
  118. f:remove()
  119. if p.Character.Humanoid then
  120. p.Character.Humanoid:TakeDamage(dmg)
  121. end
  122. end
  123. end
  124.  
  125.  
  126. function god(who)
  127. p = game.Players:FindFirstChild(who)
  128. if p and p.Character then
  129. if p.Character.Humanoid then
  130. p.Character.Humanoid.MaxHealth = math.huge()
  131. end
  132. end
  133. end
  134.  
  135. function nogod(who)
  136. p = game.Players:FindFirstChild(who)
  137. if p and p.Character then
  138. if p.Character.Humanoid then
  139. p.Character.Humanoid.MaxHealth =100
  140. end
  141. end
  142. end
  143.  
  144. function heal(who)
  145. p = game.Players:FindFirstChild(who)
  146. local god = Instance.new("Humanoid")
  147. if p and p.Character then
  148. god.Parent = p.Character
  149. god.Health = 100
  150. p.Character.Humanoid.Health = 100
  151. end
  152. end
  153.  
  154.  
  155.  
  156.  
  157.  
  158. char.Torso.Touched:connect(function(touch)
  159. if touch.Parent:FindFirstChild("Humanoid") then
  160. damage(50, touch.Parent.Name)
  161. Instance.new("Explosion", touch.Parent).Position = touch.Parent.Torso.Position
  162. end
  163. end)
  164.  
  165. function GodEffect(god)
  166. god(god)
  167. end
  168.  
  169. function NoGodEffect(Nogod)
  170. nogod(god)
  171. end
  172.  
  173. function Raw()
  174. if Raw:FindFirstChild("Raw") then
  175. if Raw ~= nil then
  176. end
  177. end
  178. end
  179.  
  180. function NoRaw()
  181. if Raw:FindFirstChild("Raw") then
  182. Raw:remove()
  183. end
  184. end
  185.  
  186. function RAW() -- We have to remove the argument "nil" or it breaks the script --Kk
  187. if RAW ~= nil then
  188. RAW:FindFirstChild("RAW")
  189. RAW = RLW.C0
  190. RAW = RAW.C1
  191. RAW = RWA.C2
  192. end --Keep the end
  193. end --Keep the end
  194.  
  195. function RawBreakJoints(Kill)
  196. if Raw:FindFirstChild("Raw") then
  197. elseif Raw ~= nil then
  198. Raw:BreakJoints()
  199. end--Don't remove the end.
  200. end--Don't remove the end.
  201.  
  202. function StabRaw(who, dmg) -- It's a stab, therefore damages people, right?
  203. p = game.Players:FindFirstChild(who)
  204. if p and p.Character then
  205. if p.Character.Humanoid then
  206. p.Character.Humanoid:TakeDamage(dmg)
  207. end
  208. end
  209. end
  210. function SmashRaw()
  211. function StabRaw(who, dmg) -- It's a stab, therefore damages people, right?
  212. p = game.Players:FindFirstChild(who)
  213. if p and p.Character then
  214. s = Instance.new("Smoke", char.Torso)
  215. if p.Character.Humanoid then
  216. p.Character.Humanoid:TakeDamage(100)
  217. sm2 = Instance.new("Smoke", p.Character.Torso)
  218. sm2.Opacity = 50
  219. end
  220. end
  221. end
  222. end
  223. function RawSmash()
  224. SmashRaw()
  225. end
  226.  
  227. function RawStab()
  228. StabRaw()
  229. end
  230.  
  231.  
  232. player.Head.Touched:connect(RawSmash)
  233. -- player["Right arm"].Touched:connect(RawStab)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement