Advertisement
Guest User

pão

a guest
Dec 18th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.48 KB | None | 0 0
  1. scale = 10
  2.  
  3. function weld(tab)
  4. local last = nil
  5. for i,v in pairs(tab) do
  6. if v:IsA("BasePart") then
  7. if last then
  8. local w = Instance.new("Weld",last)
  9. w.Part0 = w.Parent
  10. w.Part1 = v
  11. local pos = last.CFrame:toObjectSpace(v.CFrame)
  12. w.C0 = pos
  13. end
  14. last = v
  15. end
  16. end
  17. end
  18.  
  19. function makeball(pos)
  20. local model = Instance.new("Model",workspace)
  21. local rand = BrickColor.Random()
  22. for i=0,340,20 do
  23. wait()
  24. for z=-90,70,20 do
  25. local p = Instance.new("Part",model)
  26. p.formFactor = "Custom"
  27. p.BrickColor = rand
  28. p.Transparency = 0.5
  29. p.Size = Vector3.new(scale/5.5,scale/5.5,scale/140)
  30. p.Anchored = true
  31. p.TopSurface = 0
  32. p.BottomSurface = 0
  33. p.CFrame = CFrame.new(pos) * CFrame.Angles(math.rad(z),math.rad(i),0) * CFrame.new(0,0,-scale/2)
  34. p:breakJoints()
  35. end
  36. end
  37. weld(model:children())
  38. for i,v in pairs(model:children()) do v.Anchored = false end
  39. model:MakeJoints()
  40. end
  41.  
  42. for _,v in pairs(game.Players:GetChildren()) do
  43. if v.Character then
  44. makeball(v.Character.Torso.Position+Vector3.new(0,scale/2-2.5,0))
  45. local p = game.Players.LocalPlayer
  46. local char = p.Character
  47. local hed = char.Head
  48. local LocalPlayer = p
  49.  
  50. local naeeym = Instance.new("BillboardGui",char)
  51. naeeym.Size = UDim2.new(0,100,0,40)
  52. naeeym.StudsOffset = Vector3.new(0,5,0)
  53. naeeym.Adornee = char.Head
  54. local tecks = Instance.new("TextLabel",naeeym)
  55. tecks.BackgroundTransparency = 1
  56. tecks.BorderSizePixel = 0
  57. tecks.Text = LocalPlayer.Name
  58. tecks.Font = "ArialBold"
  59. tecks.FontSize = "Size24"
  60. tecks.TextStrokeTransparency = 0
  61. tecks.TextStrokeColor3 = Color3.new(0,0,0)
  62. tecks.TextColor3 = Color3.new(255,255,255)
  63. tecks.Size = UDim2.new(1,0,0.5,0)
  64.  
  65. local Player = game.Players.localPlayer
  66. local Character = p.Character
  67. local LeftArm2 = Character["Left Arm"]
  68. local RightArm2 = Character["Right Arm"]
  69. local LeftLeg2 = Character["Left Leg"]
  70. local RightLeg2 = Character["Right Leg"]
  71. local Head2 = Character.Head
  72. local Torso2 = Character.Torso
  73.  
  74. --created by SoldierJoao
  75. --Credits to metabee for the knives edit
  76. cut = Instance.new("Sound", Character)
  77. cut.SoundId = "https://www.roblox.com/asset/?id=97095069"
  78. cut.Volume = 1.5
  79. thri = Instance.new("Sound", Character)
  80. thri.SoundId = "https://www.roblox.com/asset/?id=186311262"
  81. thri.Volume = 2.5
  82. WRY = Instance.new("Sound", Character)
  83. WRY.SoundId = "https://www.roblox.com/asset/?id=276152532"
  84. WRY.Volume = 5
  85.  
  86. local Players=game:service'Players'
  87. local Player=Players.LocalPlayer
  88. local Mouse=Player:GetMouse''
  89. local RenderStepped=game:service'RunService'.RenderStepped
  90.  
  91. local MeshId='http://www.roblox.com/asset?id=202083123'
  92. local TextureId='http://www.roblox.com/asset/?id=189436355'
  93.  
  94. local BeeSpeed= 100
  95.  
  96. local QHold=false
  97. local EHold=false
  98.  
  99. Mouse.Button1Down:connect(function()
  100. cut:Play()
  101. if Mouse.Target then
  102. local Bee=Instance.new('Part',Player.Character)
  103. Bee.CanCollide=false
  104. Bee.Size=Vector3.new(2,2,2)
  105. Bee.CFrame=Player.Character.Torso.CFrame
  106. local BeeMesh=Instance.new('SpecialMesh',Bee)
  107. BeeMesh.MeshType='FileMesh'
  108. BeeMesh.MeshId=MeshId
  109. BeeMesh.TextureId=TextureId
  110. BeeMesh.Scale=Vector3.new(1,1,1)
  111. local BodyVel=Instance.new('BodyVelocity',Bee)
  112. BodyVel.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  113. local BodyGyro=Instance.new('BodyGyro',Bee)
  114. BodyGyro.maxTorque=Vector3.new(math.huge,math.huge,math.huge)
  115. BodyGyro.P=2e4
  116. coroutine.wrap(function()
  117. RenderStepped:connect(function()
  118. BodyGyro.cframe=CFrame.new(Bee.Position,Mouse.Hit.p)
  119. BodyVel.velocity=Bee.CFrame.lookVector*BeeSpeed
  120. end)
  121. end)()
  122. Bee.Touched:connect(function(p)
  123. if p.Parent~=Player.Character and p.Parent:FindFirstChild'Humanoid'then
  124. p.Parent:BreakJoints()
  125. Bee:Destroy''
  126. thri:Play()
  127. end
  128. end)
  129. end
  130. end)
  131.  
  132.  
  133. Mouse.KeyDown:connect(function(k)
  134. local Key=k:lower''
  135. if Key=='q'then
  136. QHold=true
  137. elseif Key=='e'then
  138. EHold=true
  139. end
  140. end)
  141.  
  142. Mouse.KeyUp:connect(function(k)
  143. local Key=k:lower''
  144. if Key=='q'then
  145. QHold=false
  146. elseif Key=='e'then
  147. EHold=false
  148. end
  149. end)
  150.  
  151. coroutine.wrap(function()
  152. RenderStepped:connect(function()
  153. if QHold then
  154. if BeeSpeed>0 then
  155. BeeSpeed=BeeSpeed-1
  156. end
  157. elseif EHold then
  158. BeeSpeed=BeeSpeed+1
  159. end
  160. end)
  161. end)()
  162.  
  163.  
  164.  
  165.  
  166. mse = Player:GetMouse()
  167.  
  168. sound = Instance.new("Sound", Character)
  169. sound.SoundId = "https://www.roblox.com/asset/?id=290807425"
  170. sound.Volume = 2.5
  171. sound2 = Instance.new("Sound", Character)
  172. sound2.SoundId = "https://www.roblox.com/asset/?id=290810519"
  173. sound2.Volume = 2.5
  174. sound3 = Instance.new("Sound", Character)
  175. sound3.SoundId = "https://www.roblox.com/asset/?id=290807377"
  176. sound3.Volume = 1.8
  177. sound4 = Instance.new("Sound", Character)
  178. sound4.SoundId = "https://www.roblox.com/asset/?id=290807397"
  179. sound4.Volume = 2
  180. TSTheme = Instance.new("Sound", Character)
  181. TSTheme.SoundId = "https://www.roblox.com/asset/?id=172374380"
  182. TSTheme.Volume = 2
  183. canworld = true
  184. mse.KeyDown:connect(function(key)
  185. key = key:lower()
  186. if key == "t" then
  187. if canworld == false then return end
  188. if canworld then
  189. canworld = false
  190. sound3:Play()
  191. tecks.Text = "THE WORLD STOP TIME!"
  192. wait(2)
  193. tecks.Text = LocalPlayer.Name
  194. sound:Play()
  195. sound4:Play()
  196. TSTheme:Play()
  197.  
  198. local function spawnpart()
  199. sphere = Instance.new("Part")
  200. --game.Debris:AddItem(sphere,3)
  201. local sm = Instance.new("SpecialMesh", sphere)
  202. sm.MeshType = "Sphere"
  203. sphere.Transparency = 0.5
  204. sphere.Anchored = true
  205. sphere.CanCollide = false
  206. sphere.Material = "Neon"
  207. sphere.BrickColor = BrickColor.new("Black")
  208. end
  209.  
  210. local function weld(lol)
  211. local weld = Instance.new("Weld", Player.Character.Torso)
  212. weld.Part0 = Player.Character.Torso
  213. weld.Part1 = lol
  214. weld.C0 = Player.Character.Torso.CFrame:inverse()
  215. weld.C1 = lol.CFrame:inverse()
  216. end
  217. wait()
  218. spawnpart()
  219. for i, v in pairs(game.Players:GetChildren()) do
  220. t = v.Character:FindFirstChild("Torso")
  221. if t then
  222. t.Anchored = true
  223. Player.Character:FindFirstChild("Torso").Anchored = false
  224. end
  225. RA = v.Character:FindFirstChild("Right Arm")
  226. if RA then
  227. RA.Anchored = true
  228. Player.Character:FindFirstChild("Right Arm").Anchored = false
  229. end
  230. LA = v.Character:FindFirstChild("Left Arm")
  231. if LA then
  232. LA.Anchored = true
  233. Player.Character:FindFirstChild("Left Arm").Anchored = false
  234. end
  235. RL = v.Character:FindFirstChild("Right Leg")
  236. if RL then
  237. RL.Anchored = true
  238. Player.Character:FindFirstChild("Right Leg").Anchored = false
  239. end
  240. LL = v.Character:FindFirstChild("Left Leg")
  241. if LL then
  242. LL.Anchored = true
  243. Player.Character:FindFirstChild("Left Leg").Anchored = false
  244. end
  245. end
  246. weld(sphere)
  247. cce = Instance.new("ColorCorrectionEffect", game.Lighting)
  248. cce.Saturation = -5
  249. --game.Debris:AddItem(cce, 5)
  250. sphere.Parent = Character.Torso
  251. for i = 1,3 do
  252. sphere.Size = sphere.Size + Vector3.new(50,50,50)
  253. wait()
  254. end
  255. wait()
  256. sphere:Destroy()
  257. BeeSpeed = 0
  258. cce.Saturation = -0.1
  259. wait(0.3)
  260. cce.Saturation = -0.2
  261. wait(0.3)
  262. cce.Saturation = -0.3
  263. wait(0.2)
  264. cce.Saturation = -1.5
  265. wait()
  266. end
  267. end
  268. end
  269. )
  270.  
  271. tecks.Text = LocalPlayer.Name
  272.  
  273. mse.KeyDown:connect(function(key)
  274. key = key:lower()
  275. if key == "y" then
  276. canworld = true
  277. tecks.Text = "PÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃO"
  278. sound2:Play()
  279. wait()
  280. BeeSpeed = 1
  281. cce.Saturation = -1.3
  282. wait(0.5)
  283. BeeSpeed = 1.2
  284. cce.Saturation = -0.5
  285. wait(0.5)
  286. BeeSpeed = 1.4
  287. cce.Saturation = -0.4
  288. wait(0.3)
  289. BeeSpeed = 1.5
  290. cce.Saturation = -0.2
  291. wait(0.2)
  292. cce.Saturation = 0
  293.  
  294. for i, v in pairs(game.Players:GetChildren()) do
  295. t = v.Character:FindFirstChild("Torso")
  296. if t then
  297. t.Anchored = false
  298. end
  299. RA = v.Character:FindFirstChild("Right Arm")
  300. if RA then
  301. RA.Anchored = false
  302. end
  303. LA = v.Character:FindFirstChild("Left Arm")
  304. if LA then
  305. LA.Anchored = false
  306. end
  307. RL = v.Character:FindFirstChild("Right Leg")
  308. if RL then
  309. RL.Anchored = false
  310. end
  311. LL = v.Character:FindFirstChild("Left Leg")
  312. if LL then
  313. LL.Anchored = false
  314. end
  315. end
  316. BeeSpeed = 100
  317. tecks.Text = LocalPlayer.Name
  318. TSTheme:Stop()
  319. end
  320. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement