Advertisement
BINO2002

Untitled

Feb 18th, 2016
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.23 KB | None | 0 0
  1. -----------PIPE------------
  2.  
  3. local center = workspace.BINO2002.Head.Position + Vector3.new(0,2.5,0)
  4. local R = 30
  5. local r = 10
  6.  
  7. for t = 0,7.2,0.25 do
  8. for u = 1,36 do
  9. local x = math.cos(t)*(R+r*math.cos(u))
  10. local z = math.sin(t)*(R+r*math.cos(u))
  11. local y = r*math.sin(u^2)
  12. local pos = Vector3.new(x,y,z) + center
  13. local lookAt = center + Vector3.new(math.cos(t)*R,0,math.sin(t)*R)
  14. local p = Instance.new("Part",workspace)
  15. p.FormFactor = "Symmetric"
  16. p.Size = Vector3.new(7,10,1)
  17. p.TopSurface = "Smooth"
  18. p.BrickColor = BrickColor.new("Cyan")
  19. p.BottomSurface = "Smooth"
  20. p.Anchored = true
  21. p.CFrame = CFrame.new(pos,lookAt)*CFrame.Angles(0,0,math.rad(90))
  22. end
  23. wait(0.1)
  24. end
  25.  
  26.  
  27.  
  28.  
  29. ----------------ROSE IN THE GROUND--------------
  30.  
  31. local c = 0
  32. local r
  33. local r2
  34. local h = 5
  35. local colors = {"Bright red","Bright blue"}
  36. local parts = {}
  37.  
  38. for i = 1, 36, .1 do
  39. h = h - 0.025
  40. math.randomseed(tick())
  41. local s = Instance.new("SpawnLocation",workspace)
  42. s.Anchored = true
  43. s.FormFactor = "Symmetric"
  44. s.Anchored = true
  45. s.TopSurface = "Smooth"
  46. s.BottomSurface = "Smooth"
  47. r = math.sin(i^2)*50
  48. r2 = math.cos(i^2)*50
  49. s.Size = Vector3.new(1,1,1)
  50. if c == 0 then
  51. c = 1
  52. s.BrickColor = BrickColor.new("Bright red")
  53. s.TeamColor = BrickColor.new("Bright red")
  54. s.CFrame = CFrame.new(Vector3.new(r,h,r2))
  55. elseif c == 1 then
  56. c = 0
  57. s.BrickColor = BrickColor.new("Bright blue")
  58. s.TeamColor = BrickColor.new("Bright blue")
  59. s.CFrame = CFrame.new(Vector3.new(r,h,r2))
  60. end
  61. table.insert(parts,#parts+1,s)
  62. end
  63.  
  64. function drawline(pos1, pos2, color)
  65. local b = Instance.new("Part")
  66. b.Parent = workspace
  67. b.Anchored = true
  68. b.FormFactor = "Symmetric"
  69. b.BrickColor = BrickColor.new(color)
  70. b.Size = Vector3.new(8,(pos1-pos2).magnitude,1)
  71. b.CFrame = CFrame.new((pos2+pos1)/2,pos1)*CFrame.Angles(math.rad(90),0,0)
  72. b.Transparency = 0
  73. b.TopSurface = "Smooth"
  74. b.BottomSurface = "Smooth"
  75. end
  76.  
  77. local stuff = 0
  78.  
  79. for i = 1, #parts-1 do
  80. if stuff == 0 then
  81. stuff = 1
  82. drawline(parts[i].Position, parts[i+1].Position,"Bright blue")
  83. else
  84. stuff = 0
  85. drawline(parts[i].Position, parts[i+1].Position,"Bright red")
  86. end
  87. end
  88.  
  89. for _,v in pairs(workspace:GetChildren()) do
  90. if v.className == "SpawnLocation" then
  91. v:Destroy()
  92. end
  93. end
  94.  
  95.  
  96.  
  97.  
  98. --------------------EXPLODE ON DEATH COMMANDS----------------------
  99.  
  100.  
  101. --Say explode:PLAYERNAME to give them explode on death powers
  102. local admins = {"BeatsByDrDre101",""}
  103.  
  104. function explode(name)
  105. workspace[name].Humanoid.Died:connect(function()
  106. exp = Instance.new("Explosion",workspace)
  107. exp.Position = workspace[name].Torso.Position
  108. exp.BlastPressure = 5
  109. exp.BlastRadius = 6
  110. blahwait(name)
  111. end)
  112. end
  113.  
  114. function blahwait(name)
  115. repeat wait(0.5) until workspace:findFirstChild(name) and workspace[name].Humanoid.Health > 0
  116. explode(name)
  117. end
  118.  
  119. function commands(robloxian)
  120. for i = 1, #admins do
  121. if admins[i] == robloxian.Name then
  122. robloxian.Chatted:connect(function(msg, speaker)
  123. if string.sub(msg, 1, 8):lower() == "explode:" then
  124. na = string.sub(msg,9)
  125. if game.Players:findFirstChild(na) then
  126. explode(na)
  127. end end end) end end end
  128.  
  129.  
  130. for _, v in pairs(game.Players:GetChildren()) do
  131. for i = 1, #admins do
  132. if v.Name == admins[i] then
  133. commands(v)
  134. end
  135. end
  136. end
  137.  
  138. game.Players.ChildAdded:connect(function(newplayer)
  139. commands(newplayer)
  140. end)
  141.  
  142.  
  143.  
  144.  
  145. ----------------DRAGON BALL Z KI BLAST-------------------
  146.  
  147.  
  148.  
  149. name = "BeatsByDrDre101"
  150. if script.Parent.className ~= "HopperBin" then
  151. Instance.new("HopperBin", game.Players[name].Backpack).Name = "KiBlast"
  152. script.Parent = game.Players[name].Backpack["KiBlast"]
  153. end
  154. local player = script.Parent.Parent.Parent
  155. local char = player.Character
  156. local torso = char.Torso
  157. local energycolor = "Bright yellow"
  158. local speed = 12
  159. local damage = 4
  160. local reqdist = 10
  161. local debounce = false
  162. local mouseUp = true
  163. local RT = 0.15
  164.  
  165.  
  166. script.Parent.Selected:connect(function(mouse)
  167. mouse.Button1Down:connect(function()
  168. mouseUp = false
  169. repeat
  170. wait(RT)
  171. local p = Instance.new("Part", workspace)
  172. p.Size = Vector3.new(1,1,1)
  173. p.TopSurface = "Smooth"
  174. p.BottomSurface = "Smooth"
  175. p.Shape = "Ball"
  176. p.Anchored = true
  177. p.BrickColor = BrickColor.new(energycolor)
  178. p.Name = "Energy"
  179. p.Transparency = 0.15
  180. local m = Instance.new("SpecialMesh", p)
  181. m.MeshType = "Sphere"
  182. m.Scale = Vector3.new(3,3,3)
  183. fire(p, mouse.Hit.p)
  184. until mouseUp
  185. end)
  186. mouse.Button1Up:connect(function()
  187. mouseUp = true
  188. end)
  189. end)
  190.  
  191. function fire(part, pos)
  192. coroutine.resume(coroutine.create(function()
  193. part.CFrame = CFrame.new(torso.Position + CFrame.new(torso.Position, pos).lookVector*5)
  194. local hit, newpos = Workspace:FindPartOnRay(Ray.new(part.Position,(CFrame.new(part.Position,pos).lookVector * (Max or 500))), part)
  195. for i = 1, 200 do
  196. part.CFrame = CFrame.new(part.Position + CFrame.new(part.Position,newpos).lookVector * (speed))
  197. part.CFrame = CFrame.new(part.Position, newpos)
  198. wait(0.01)
  199. if (part.Position - newpos).BINO2002 <= 6 then
  200. break
  201. end
  202. end
  203. for _,v in pairs(game.Players:GetChildren()) do
  204. local pt = v.Character:findFirstChild("Torso")
  205. local ph = v.Character:findFirstChild("Humanoid")
  206. if pt and ph and (pt.Position - part.Position).BINO2002 <= reqdist then
  207. ph.Health = ph.Health - damage
  208. end
  209. end
  210. local e = Instance.new("Explosion",workspace)
  211. e.Position = part.Position
  212. e.BlastRadius = 10
  213. part:Destroy()
  214. end))
  215. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement