Advertisement
trolman5678

shadow

Oct 2nd, 2016
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. player = game.Players.zombieslayerwtf -- replace Player1 with your name (That's all you have to do, now run this script as a local script)
  3. owner=player.Name
  4. character=player.Character
  5. mouse=player:GetMouse()
  6. speed=490--speed of fireball (try to make it bigger than 300 if you're going to change it for the good, if you're just doing whatever you can change it to anything :P)
  7. soundid="154324879"
  8. timeUntilDisappear=10--seconds
  9. dominusRetexture="114455897" -- must be vespertillo retexture
  10.  
  11.  
  12.  
  13.  
  14. mouse.KeyDown:connect(function(key)
  15. if string.byte(key)==101 then -- asks game if the key is e
  16.  
  17. local fireball=Instance.new("Part")
  18. local light=Instance.new("PointLight")
  19. local flySound=Instance.new("Sound")
  20. light.Parent=fireball
  21. light.Color=Color3.new(0,0,0)
  22. -- FIRE PROPERTIES --
  23. fireball.Parent=workspace
  24. fireball.CFrame=CFrame.new(character.Head.Position.X,character.Head.Position.Y+1,character.Head.Position.Z)
  25. fireball.TopSurface='Smooth'
  26. fireball.BottomSurface="Smooth"
  27. fireball.Name="Fireball"
  28. fireball.Shape="Ball"
  29. fireball.CanCollide=false
  30. fireball.Transparency=0.5
  31. fireball.BrickColor=BrickColor.new("Really black")
  32. fireball.FormFactor="Symmetric"
  33. fireball.Size=Vector3.new(4,4,4)
  34. fireball.Velocity=mouse.Hit.lookVector*speed
  35. flySound.Parent=fireball
  36. flySound.SoundId="http://www.roblox.com/asset?id="..soundid
  37. flySound:Play()--plays sound. If you don't want a sound then delete this line
  38. local effect=Instance.new("Fire")
  39. effect.Color=Color3.new(0,0,0)
  40. effect.SecondaryColor=Color3.new(0,0,0.1)
  41. effect.Parent=fireball
  42.  
  43. fireball.Touched:connect(function(hit)
  44. if hit.Parent:findFirstChild("Humanoid") and hit.Parent.Name~=owner then
  45.  
  46. for i,v in pairs(hit.Parent:GetChildren()) do
  47. if v.ClassName=="Part" then
  48. effect:Clone().Parent=v
  49.  
  50. end
  51. end
  52.  
  53. hit.Parent:BreakJoints()
  54. fireball:remove()
  55. end
  56.  
  57. wait(timeUntilDisappear)
  58.  
  59. fireball:remove()
  60.  
  61. end)
  62. end
  63. end)
  64.  
  65.  
  66. Instance.new("ForceField",character) -- ForceField
  67. character.Humanoid.WalkSpeed=100 -- speed
  68. character.Humanoid.MaxHealth=math.huge
  69. character.Humanoid.Health=character.Humanoid.MaxHealth
  70. for i,v in pairs(character:GetChildren()) do
  71. if v.ClassName=="Hat" then
  72. v:remove()
  73. end
  74. end
  75.  
  76. local dominus = game:GetService("InsertService"):LoadAsset(96103379):GetChildren()[1] -- change 96103379 to the hat you want (if you're changing)
  77. dominus.Handle.Mesh.TextureId="http://www.roblox.com/asset?id="..dominusRetexture
  78. dominus.Handle.Transparency=0.5
  79. dominus.Parent=character
  80.  
  81. for _,part in pairs(character:GetChildren()) do
  82. if part.ClassName=='Part' then
  83. part.BrickColor=BrickColor.new("Really black")
  84. part.Transparency=0.5
  85. elseif part.ClassName=="Shirt"then
  86. part:remove()
  87.  
  88. elseif part.ClassName=="Pants" then
  89. part:remove()
  90. elseif part.ClassName=="ShirtGraphic" then
  91. part:remove()
  92. end
  93. end
  94.  
  95. if character.Torso:findFirstChild("roblox") then
  96. character.Torso.roblox:remove()
  97. end
  98.  
  99. if character.Head:findFirstChild("face") then
  100. character.Head.face:remove()
  101. end
  102.  
  103. if character:findFirstChild("Head") then
  104. character.Head.Transparency=1
  105. end
  106.  
  107.  
  108. function onButton1Down_1(mouse)
  109. local target=mouse.Target
  110. if target.Parent:findFirstChild("Humanoid") then
  111. target.Parent:BreakJoints()
  112. end
  113. end
  114.  
  115.  
  116. local kill_tool=Instance.new("HopperBin")
  117. kill_tool.Parent=player.Backpack
  118. kill_tool.Name='Kill Player'
  119. kill_tool.Selected:connect(function(mouse)
  120. mouse.Button1Down:connect(function() onButton1Down_1(mouse) end)
  121. end)
  122.  
  123.  
  124. function onButton1Down_2(mouse)
  125. local target=mouse.Target
  126. if target.Parent~=character then
  127. target:remove()
  128. end
  129. end
  130.  
  131. local delete_tool=Instance.new("HopperBin")
  132. delete_tool.Parent=player.Backpack
  133. delete_tool.Name="Delete Part"
  134.  
  135. delete_tool.Selected:connect(function(mouse)
  136. mouse.Button1Down:connect(function() onButton1Down_2(mouse) end )
  137. end)
  138.  
  139.  
  140. function onButton1Down_3(mouse)
  141. local target=mouse.Target
  142. if game.Players:GetPlayerFromCharacter(target.Parent) then
  143. game.Players:GetPlayerFromCharacter(target.Parent):Kick()
  144. end
  145. end
  146.  
  147. local kick_tool=Instance.new("HopperBin")
  148. kick_tool.Parent=player.Backpack
  149. kick_tool.Name="Kick Player"
  150.  
  151. kick_tool.Selected:connect(function()
  152. player.Chatted:connect(function(msg)
  153.  
  154. for i,v in pairs(game.Players:GetChildren()) do
  155. if string.find(msg, v.Name) then
  156. v:Kick()
  157. end
  158.  
  159. end
  160. end)
  161. end)
  162. function onButton1Down_4(mouse)
  163. local brick=Instance.new("Part")
  164.  
  165. -- KILL BRICK PROPERTIES --
  166. brick.Parent=workspace
  167. brick.FormFactor="Symmetric"
  168. brick.Anchored=true
  169. brick.TopSurface='Smooth'
  170. brick.BottomSurface='Smooth'
  171. brick.Size=Vector3.new(5,5,5)
  172. brick.CFrame=CFrame.new(mouse.Hit.p) * CFrame.Angles(2,2,2)
  173. brick.Transparency=0.2
  174. brick.BrickColor=BrickColor.new("Really black")
  175. brick.Material='SmoothPlastic'
  176. brick.Locked=true -- to keep from delete tools or something like that
  177.  
  178. brick.Touched:connect(function(hit)
  179. if hit.Parent.Name~=owner and hit.Parent:findFirstChild("Humanoid") then
  180. hit.Parent:BreakJoints()
  181. end
  182. end)
  183.  
  184. end
  185.  
  186. local killbrick_tool=Instance.new("HopperBin")
  187. killbrick_tool.Parent=player.Backpack
  188. killbrick_tool.Name="Create KillBrick"
  189. killbrick_tool.Selected:connect(function(mouse)
  190. mouse.Button1Down:connect(function() onButton1Down_4(mouse) end)
  191. end)
  192.  
  193. local revert_color_tool = Instance.new("HopperBin")
  194. revert_color_tool.Parent=player.Backpack
  195. revert_color_tool.Name="Change colors to default"
  196. revert_color_tool.Selected:connect(function()
  197. for i,v in pairs(character:GetChildren()) do
  198. if v.ClassName=='Part' then
  199. v.BrickColor=BrickColor.new("Really black")
  200. end
  201. end
  202. end)
  203.  
  204.  
  205.  
  206. local dark_tool=Instance.new("HopperBin")
  207. dark_tool.Parent=player.Backpack
  208. dark_tool.Name='Black Out'
  209. dark_tool.Selected:connect(function(mouse)
  210. local sound=Instance.new("Sound")
  211. sound.Parent=workspace
  212. sound.SoundId="http://www.roblox.com/asset?id=147722227"
  213. sound:Play()
  214. game.Lighting.TimeOfDay="20:00"
  215. game.Lighting.GlobalShadows=false
  216. character.ForceField:remove()
  217. wait(2)
  218. sound:Stop()
  219. sound:remove()
  220. end)
  221. dark_tool.Deselected:connect(function()
  222. game.Lighting.TimeOfDay="14:00"
  223. Instance.new("ForceField",character)
  224. game.Lighting.GlobalShadows=true
  225. end)
  226.  
  227. --[[local rain_tool=Instance.new("HopperBin")
  228. rain_tool.Parent=player.Backpack
  229. rain_tool.Name="Make It Rain"]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement