Advertisement
RobloxPlayerBeta

TEST

Aug 19th, 2018
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.13 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do
  6. print("FE Compatibility code by Mokiros")
  7. local rp = RealPlayer
  8. script.Parent = rp.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent then
  34. for _,f in pairs(t.Functions) do
  35. f(...)
  36. end
  37. end
  38. end
  39. m.TrigEvent = te
  40. UIS.TrigEvent = te
  41.  
  42. Event.OnServerEvent:Connect(function(plr,io)
  43. if plr~=rp then return end
  44. m.Target = io.Target
  45. m.Hit = io.Hit
  46. if not io.isMouse then
  47. local b = io.UserInputState == Enum.UserInputState.Begin
  48. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  49. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  50. end
  51. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  52. return m:TrigEvent(b and "Button2Down" or "Button2Up")
  53. end
  54. for _,t in pairs(CAS.Actions) do
  55. for _,k in pairs(t.Keys) do
  56. if k==io.KeyCode then
  57. t.Function(t.Name,io.UserInputState,io)
  58. end
  59. end
  60. end
  61. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  62. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  63. end
  64. end)
  65. Event.Parent = NLS([==[
  66. local Player = game:GetService("Players").LocalPlayer
  67. local Event = script:WaitForChild("UserInput_Event")
  68.  
  69. local Mouse = Player:GetMouse()
  70. local UIS = game:GetService("UserInputService")
  71. local input = function(io,a)
  72. if a then return end
  73. --Since InputObject is a client-side instance, we create and pass table instead
  74. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  75. end
  76. UIS.InputBegan:Connect(input)
  77. UIS.InputEnded:Connect(input)
  78.  
  79. local h,t
  80. --Give the server mouse data 30 times every second, but only if the values changed
  81. --If player is not moving their mouse, client won't fire events
  82. while wait(1/30) do
  83. if h~=Mouse.Hit or t~=Mouse.Target then
  84. h,t=Mouse.Hit,Mouse.Target
  85. Event:FireServer({isMouse=true,Target=t,Hit=h})
  86. end
  87. end]==],Player.Character)
  88.  
  89. ----Sandboxed game object that allows the usage of client-side methods and services
  90. --Real game object
  91. local _rg = game
  92.  
  93. --Metatable for fake service
  94. local fsmt = {
  95. __index = function(self,k)
  96. local s = rawget(self,"_RealService")
  97. if s then
  98. return typeof(s[k])=="function"
  99. and function(_,...)return s[k](s,...)end or s[k]
  100. end
  101. end,
  102. __newindex = function(self,k,v)
  103. local s = rawget(self,"_RealService")
  104. if s then s[k]=v end
  105. end
  106. }
  107. local function FakeService(t,RealService)
  108. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  109. return setmetatable(t,fsmt)
  110. end
  111.  
  112. --Fake game object
  113. local g = {
  114. GetService = function(self,s)
  115. return self[s]
  116. end,
  117. Players = FakeService({
  118. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  119. },"Players"),
  120. UserInputService = FakeService(UIS,"UserInputService"),
  121. ContextActionService = FakeService(CAS,"ContextActionService"),
  122. }
  123. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  124. g.service = g.GetService
  125.  
  126. g.RunService = FakeService({
  127. RenderStepped = _rg:GetService("RunService").Heartbeat,
  128. BindToRenderStep = function(self,name,_,fun)
  129. self._btrs[name] = self.Heartbeat:Connect(fun)
  130. end,
  131. UnbindFromRenderStep = function(self,name)
  132. self._btrs[name]:Disconnect()
  133. end,
  134. },"RunService")
  135.  
  136. setmetatable(g,fsmt)
  137. --Changing owner to fake player object to support owner:GetMouse()
  138. game,owner = g,g.Players.LocalPlayer
  139. end
  140.  
  141. Player = owner
  142. killing = false
  143. local charge = Instance.new("Sound", game.Players.LocalPlayer.Character)
  144. charge.SoundId = "http://www.roblox.com/asset/?id=2101137"
  145. charge.Volume = 7
  146. charge.PlaybackSpeed = 0.1
  147. local explode = Instance.new("Sound", game.Players.LocalPlayer.Character)
  148. explode.SoundId = "http://www.roblox.com/asset/?id=3264793"
  149. explode.Volume = 10
  150. explode.PlaybackSpeed = 0.45
  151. local big = Instance.new("Sound", game.Players.LocalPlayer.Character)
  152. big.SoundId = "http://www.roblox.com/asset?id=2248511"
  153. big.Volume = 8
  154. big.PlaybackSpeed = 0.2
  155. local wah = Instance.new("Sound", game.Players.LocalPlayer.Character)
  156. wah.SoundId = "http://www.roblox.com/asset/?id=13775494"
  157. wah.Volume = 10
  158. wah.PlaybackSpeed = 0.1
  159. local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
  160. game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Remove()
  161. local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  162. rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  163. rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
  164. rhandweld.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) * CFrame.new(0,-0.5,0)
  165. local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone()
  166. game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Remove()
  167. local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  168. lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  169. lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"]
  170. lhandweld.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) * CFrame.new(0,-0.5,0)
  171. --Converted with ttyyuu12345's model to script plugin v4
  172. function sandbox(var,func)
  173. local env = getfenv(func)
  174. local newenv = setmetatable({},{
  175. __index = function(self,k)
  176. if k=="script" then
  177. return var
  178. else
  179. return env[k]
  180. end
  181. end,
  182. })
  183. setfenv(func,newenv)
  184. return func
  185. end
  186. cors = {}
  187. mas = Instance.new("Model",game:GetService("Lighting"))
  188. Part0 = Instance.new("Part")
  189. SpecialMesh1 = Instance.new("SpecialMesh")
  190. Sound2 = Instance.new("Sound")
  191. Sound3 = Instance.new("Sound")
  192. Part0.Name = "Handle"
  193. Part0.Parent = mas
  194. Part0.Rotation = Vector3.new(-90, 0, 149.300003)
  195. Part0.Locked = true
  196. Part0.Size = Vector3.new(1, 5, 1)
  197. Part0.CFrame = CFrame.new(7.12329102, 0.500226974, 3.38549805, -0.859843254, -0.510558128, -3.7997961e-05, 5.27501106e-06, -8.33272934e-05, 1, -0.510558128, 0.859843254, 7.43865967e-05)
  198. Part0.Position = Vector3.new(7.12329102, 0.500226974, 3.38549805)
  199. Part0.Orientation = Vector3.new(-90, 149.300003, 0)
  200. Part0.CanCollide = false
  201. SpecialMesh1.Parent = Part0
  202. SpecialMesh1.MeshId = "http://www.roblox.com/asset/?id=31601544"
  203. SpecialMesh1.TextureId = "http://www.roblox.com/asset/?id=31601599"
  204. SpecialMesh1.MeshType = Enum.MeshType.FileMesh
  205. Sound2.Name = "Launch"
  206. Sound2.Parent = Part0
  207. Sound2.SoundId = "http://www.roblox.com/asset/?id=31761785"
  208. Sound3.Name = "Reload"
  209. Sound3.Parent = Part0
  210. Sound3.SoundId = "http://www.roblox.com/asset/?id=31762599"
  211. for i,v in pairs(mas:GetChildren()) do
  212. v.Parent = game:GetService("Players").LocalPlayer.Character
  213. pcall(function() v:MakeJoints() end)
  214. end
  215. mas:Destroy()
  216. for i,v in pairs(cors) do
  217. spawn(function()
  218. pcall(v)
  219. end)
  220. end
  221. Part0:BreakJoints()
  222. local weld = Instance.new("Weld", Part0)
  223. weld.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
  224. weld.Part1 = Part0
  225. weld.C0 = CFrame.new(0.14364624, -1.86558533, -0.482425928, 0.961239636, 0.274881363, -0.0215397496, 0.275713176, -0.958950281, 0.0663445592, -0.00241867849, -0.0697118044, -0.997564256)
  226. function diefags()
  227. if not killing then
  228. killing = true
  229. local normiemath = math.random(1,2)
  230. if normiemath == 1 then
  231. local fuckingnormies = Instance.new("Sound", game.Players.LocalPlayer.Character.Head)
  232. fuckingnormies.SoundId = "rbxassetid://1028044973"
  233. fuckingnormies.Volume = 4
  234. fuckingnormies:Play()
  235. for i = 0,1 , 0.01 do
  236. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.02447033, 0.439801455, -0.878314972, 0.951058984, 0.309009612, -2.5504616e-07, -0.0215563904, 0.066344671, -0.997563899, -0.308256835, 0.948742032, 0.069758825),i)
  237. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.300170898, 0.848037004, -1.02149391, 0.866025567, -0.433015972, 0.249994561, -0.03488167, -0.551093698, -0.833714128, 0.49878186, 0.713297307, -0.492365628),i)
  238. game:GetService("RunService").RenderStepped:wait()
  239. end
  240. wait(0.1)
  241. local ball = Instance.new("Part", game.Players.LocalPlayer.Character)
  242. ball.Size = Vector3.new(1,1,1)
  243. ball.BrickColor = BrickColor.new("Black")
  244. ball.CanCollide = false
  245. ball.CFrame = Part0.CFrame * CFrame.new(0,5,0)
  246. ball.CFrame = ball.CFrame * CFrame.Angles(3,0,0)
  247. ball:BreakJoints()
  248. local mesh = Instance.new("SpecialMesh", ball)
  249. mesh.MeshId = "http://www.roblox.com/asset/?id=31601976"
  250. mesh.TextureId = "http://www.roblox.com/asset/?id=31601599"
  251. local vee = Instance.new("BodyVelocity", ball)
  252. vee.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  253. vee.Velocity = mouse.Hit.lookVector * 150
  254. SpecialMesh1.MeshId = "http://www.roblox.com/asset/?id=31611841"
  255. local canwtfboom = true
  256. local function wtfboom()
  257. if canwtfboom then
  258. canwtfboom = false
  259. ball.Transparency = 1
  260. ball.Anchored = true
  261. local boooom = Instance.new("Sound", ball)
  262. boooom.SoundId = "rbxassetid://154454228"
  263. boooom.Volume = 5
  264. boooom:Play()
  265. local boom = Instance.new("Explosion", workspace)
  266. boom.Position = ball.Position
  267. boom.BlastRadius = 50
  268. local ball1 = Instance.new("Part", game.Players.LocalPlayer.Character)
  269. ball1.Size = Vector3.new(1,1,1)
  270. ball1.Material = "Neon"
  271. ball1.Anchored = true
  272. ball1.Transparency = 0.3
  273. ball1.BrickColor = BrickColor.new("New Yeller")
  274. ball1.CanCollide = false
  275. ball1.CFrame = ball.CFrame
  276. local ball11 = Instance.new("Part", game.Players.LocalPlayer.Character)
  277. ball11.Size = Vector3.new(1,1,1)
  278. ball11.Material = "Neon"
  279. ball11.Anchored = true
  280. ball11.Transparency = 0.3
  281. ball11.BrickColor = BrickColor.new("Maroon")
  282. ball11.CanCollide = false
  283. ball11.CFrame = ball.CFrame
  284. local cf = ball1.CFrame
  285. ball1:BreakJoints()
  286. charge:Play()
  287. explode:Play()
  288. local cfval = 0
  289. local cfval1 = 0
  290. for i = 1,290 do
  291. game.Players.LocalPlayer.Character.Humanoid.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1))
  292. cfval1 = cfval1 - 1
  293. cfval = cfval + 1
  294. ball1.Size = ball1.Size + Vector3.new(0.2,0.2,0.2)
  295. ball1.CFrame = cf * CFrame.fromEulerAnglesXYZ(0,cfval,cfval + math.random(-1,1))
  296. --
  297. ball11.Size = ball1.Size + Vector3.new(0.1,0.1,0.1)
  298. ball11.CFrame = cf * CFrame.fromEulerAnglesXYZ(0,cfval1,cfval1 + math.random(-1,1))
  299. wait()
  300. end
  301. for i = 1,20 do
  302. game.Players.LocalPlayer.Character.Humanoid.CameraOffset = Vector3.new(math.random(-1.2,1.2),math.random(-1.2,1.2),math.random(-1.2,1.2))
  303. cfval1 = cfval1 - 1
  304. cfval = cfval + 1
  305. ball1.Size = ball1.Size + Vector3.new(0.2,0.2,0.2)
  306. ball1.CFrame = cf * CFrame.fromEulerAnglesXYZ(0,cfval,cfval + math.random(-1,1))
  307. ball1.BrickColor = BrickColor.new("Really black")
  308. --
  309. ball11.BrickColor = BrickColor.new("Institutional white")
  310. ball11.Size = ball1.Size + Vector3.new(0.1,0.1,0.1)
  311. ball11.CFrame = cf * CFrame.fromEulerAnglesXYZ(0,cfval1,cfval1 + math.random(-1,1))
  312. wait()
  313. game.Players.LocalPlayer.Character.Humanoid.CameraOffset = Vector3.new(math.random(-1.3,1.3),math.random(-1.3,1.3),math.random(-1.3,1.3))
  314. ball1.Size = ball1.Size + Vector3.new(0.2,0.2,0.2)
  315. ball1.CFrame = cf * CFrame.fromEulerAnglesXYZ(0,cfval,cfval + math.random(-1,1))
  316. ball1.BrickColor = BrickColor.new("Institutional white")
  317. --
  318. ball11.BrickColor = BrickColor.new("Really black")
  319. ball11.Size = ball1.Size + Vector3.new(0.1,0.1,0.1)
  320. ball11.CFrame = cf * CFrame.fromEulerAnglesXYZ(0,cfval1,cfval1 + math.random(-1,1))
  321. wait()
  322. end
  323. local boom = Instance.new("Explosion", workspace)
  324. boom.Position = ball.Position
  325. boom.BlastRadius = 100
  326. big:Play()
  327. wah:Play()
  328. for i = 1,70 do
  329. game.Players.LocalPlayer.Character.Humanoid.CameraOffset = Vector3.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))
  330. cfval1 = cfval1 - 1
  331. cfval = cfval + 1
  332. ball1.Size = ball1.Size + Vector3.new(0.5,0.5,0.5)
  333. ball1.CFrame = cf * CFrame.fromEulerAnglesXYZ(0,cfval,cfval + math.random(-2,2))
  334. ball1.BrickColor = BrickColor.new("Really black")
  335. --
  336. ball11.BrickColor = BrickColor.new("Really black")
  337. ball11.Size = ball1.Size + Vector3.new(0.5,0.5,0.5)
  338. ball11.CFrame = cf * CFrame.fromEulerAnglesXYZ(0,cfval1,cfval1 + math.random(-2,2))
  339. wait()
  340. game.Players.LocalPlayer.Character.Humanoid.CameraOffset = Vector3.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))
  341. ball1.Size = ball1.Size + Vector3.new(0.5,0.5,0.5)
  342. ball1.CFrame = cf * CFrame.fromEulerAnglesXYZ(0,cfval,cfval + math.random(-2,2))
  343. ball1.BrickColor = BrickColor.new("Institutional white")
  344. --
  345. ball11.BrickColor = BrickColor.new("Institutional white")
  346. ball11.Size = ball1.Size + Vector3.new(0.5,0.5,0.5)
  347. ball11.CFrame = cf * CFrame.fromEulerAnglesXYZ(0,cfval1,cfval1 + math.random(-2,2))
  348. wait()
  349. end
  350. for i = 1,20 do
  351. game.Players.LocalPlayer.Character.Humanoid.CameraOffset = Vector3.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))
  352. cfval1 = cfval1 - 1
  353. cfval = cfval + 1
  354. ball1.Transparency = ball1.Transparency + 0.05
  355. ball1.Size = ball1.Size + Vector3.new(0.5,0.5,0.5)
  356. ball1.CFrame = cf * CFrame.fromEulerAnglesXYZ(0,cfval,cfval + math.random(-2,2))
  357. ball1.BrickColor = BrickColor.new("Really black")
  358. --
  359. ball11.Transparency = ball11.Transparency + 0.05
  360. ball11.BrickColor = BrickColor.new("Really black")
  361. ball11.Size = ball1.Size + Vector3.new(0.5,0.5,0.5)
  362. ball11.CFrame = cf * CFrame.fromEulerAnglesXYZ(0,cfval1,cfval1 + math.random(-2,2))
  363. wait()
  364. ball1.Transparency = ball1.Transparency + 0.05
  365. game.Players.LocalPlayer.Character.Humanoid.CameraOffset = Vector3.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))
  366. ball1.Size = ball1.Size + Vector3.new(0.5,0.5,0.5)
  367. ball1.CFrame = cf * CFrame.fromEulerAnglesXYZ(0,cfval,cfval + math.random(-2,2))
  368. ball1.BrickColor = BrickColor.new("Institutional white")
  369. --
  370. ball11.Transparency = ball11.Transparency + 0.05
  371. ball11.BrickColor = BrickColor.new("Institutional white")
  372. ball11.Size = ball1.Size + Vector3.new(0.5,0.5,0.5)
  373. ball11.CFrame = cf * CFrame.fromEulerAnglesXYZ(0,cfval1,cfval1 + math.random(-2,2))
  374. wait()
  375. end
  376. game.Players.LocalPlayer.Character.Humanoid.CameraOffset = Vector3.new(0,0,0)
  377. ball1:destroy()
  378. ball11:destroy()
  379. canwtfboom = true
  380. end
  381. end
  382. ball.Touched:connect(wtfboom)
  383. for i = 0,1 , 0.2 do
  384. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.02446938, 0.552541018, -0.327054977, 0.951061666, 0.309009731, -7.40417818e-07, 0.095487982, -0.293892294, -0.951057374, -0.293886364, 0.904513896, -0.309014499),i)
  385. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(0.102849007, 1.10630536, -1.02422714, 0.866026998, -0.495132118, 0.0695825815, -0.219193026, -0.501041591, -0.837204993, 0.449390769, 0.709789872, -0.542445064),i)
  386. game:GetService("RunService").RenderStepped:wait()
  387. end
  388. fuckingnormies:Stop()
  389. wait(1)
  390. for i = 0,1 , 0.01 do
  391. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.02447033, 0.439801455, -0.878314972, 0.951058984, 0.309009612, -2.5504616e-07, -0.0215563904, 0.066344671, -0.997563899, -0.308256835, 0.948742032, 0.069758825),i)
  392. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.300170898, 0.848037004, -1.02149391, 0.866025567, -0.433015972, 0.249994561, -0.03488167, -0.551093698, -0.833714128, 0.49878186, 0.713297307, -0.492365628),i)
  393. game:GetService("RunService").RenderStepped:wait()
  394. end
  395. SpecialMesh1.MeshId = "http://www.roblox.com/asset/?id=31601544"
  396. SpecialMesh1.TextureId = "http://www.roblox.com/asset/?id=31601599"
  397. end
  398. if normiemath == 2 then
  399. local fuckingnormies = Instance.new("Sound", game.Players.LocalPlayer.Character.Head)
  400. fuckingnormies.SoundId = "rbxassetid://1028044973"
  401. fuckingnormies.Volume = 4
  402. fuckingnormies:Play()
  403. for i = 0,1 , 0.01 do
  404. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.02447033, 0.439801455, -0.878314972, 0.951058984, 0.309009612, -2.5504616e-07, -0.0215563904, 0.066344671, -0.997563899, -0.308256835, 0.948742032, 0.069758825),i)
  405. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.300170898, 0.848037004, -1.02149391, 0.866025567, -0.433015972, 0.249994561, -0.03488167, -0.551093698, -0.833714128, 0.49878186, 0.713297307, -0.492365628),i)
  406. game:GetService("RunService").RenderStepped:wait()
  407. end
  408. wait(0.1)
  409. local ball = Instance.new("Part", game.Players.LocalPlayer.Character)
  410. ball.Size = Vector3.new(1,1,1)
  411. ball.BrickColor = BrickColor.new("Black")
  412. ball.CanCollide = false
  413. ball.CFrame = Part0.CFrame * CFrame.new(0,5,0)
  414. ball.CFrame = ball.CFrame * CFrame.Angles(3,0,0)
  415. ball:BreakJoints()
  416. local mesh = Instance.new("SpecialMesh", ball)
  417. mesh.MeshId = "http://www.roblox.com/asset/?id=31601976"
  418. mesh.TextureId = "http://www.roblox.com/asset/?id=31601599"
  419. local vee = Instance.new("BodyVelocity", ball)
  420. vee.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  421. vee.Velocity = mouse.Hit.lookVector * 150
  422. SpecialMesh1.MeshId = "http://www.roblox.com/asset/?id=31611841"
  423. local canwtfboom = true
  424. local function wtfboom()
  425. if canwtfboom then
  426. canwtfboom = false
  427. ball.Transparency = 1
  428. ball.Anchored = true
  429. local boooom = Instance.new("Sound", ball)
  430. boooom.SoundId = "rbxassetid://154454228"
  431. boooom.Volume = 5
  432. boooom:Play()
  433. local boom = Instance.new("Explosion", workspace)
  434. boom.Position = ball.Position
  435. boom.BlastRadius = 50
  436. local ball1 = Instance.new("Part", game.Players.LocalPlayer.Character)
  437. ball1.Size = Vector3.new(1,1,1)
  438. ball1.Material = "Neon"
  439. ball1.Anchored = true
  440. ball1.Transparency = 0.3
  441. ball1.BrickColor = BrickColor.new("New Yeller")
  442. ball1.CanCollide = false
  443. ball1.CFrame = ball.CFrame
  444. local ball11 = Instance.new("Part", game.Players.LocalPlayer.Character)
  445. ball11.Size = Vector3.new(1,1,1)
  446. ball11.Material = "Neon"
  447. ball11.Anchored = true
  448. ball11.Transparency = 0.3
  449. ball11.BrickColor = BrickColor.new("Maroon")
  450. ball11.CanCollide = false
  451. ball11.CFrame = ball.CFrame
  452. local cf = ball1.CFrame
  453. ball1:BreakJoints()
  454. charge:Play()
  455. explode:Play()
  456. local cfval = 0
  457. local cfval1 = 0
  458. for i = 1,290 do
  459. game.Players.LocalPlayer.Character.Humanoid.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1))
  460. cfval1 = cfval1 - 1
  461. cfval = cfval + 1
  462. ball1.Size = ball1.Size + Vector3.new(0.2,0.2,0.2)
  463. ball1.CFrame = cf * CFrame.fromEulerAnglesXYZ(0,cfval,cfval + math.random(-1,1))
  464. --
  465. ball11.Size = ball1.Size + Vector3.new(0.1,0.1,0.1)
  466. ball11.CFrame = cf * CFrame.fromEulerAnglesXYZ(0,cfval1,cfval1 + math.random(-1,1))
  467. wait()
  468. end
  469. for i = 1,20 do
  470. game.Players.LocalPlayer.Character.Humanoid.CameraOffset = Vector3.new(math.random(-1.2,1.2),math.random(-1.2,1.2),math.random(-1.2,1.2))
  471. cfval1 = cfval1 - 1
  472. cfval = cfval + 1
  473. ball1.Size = ball1.Size + Vector3.new(0.2,0.2,0.2)
  474. ball1.CFrame = cf * CFrame.fromEulerAnglesXYZ(0,cfval,cfval + math.random(-1,1))
  475. ball1.BrickColor = BrickColor.new("Really black")
  476. --
  477. ball11.BrickColor = BrickColor.new("Institutional white")
  478. ball11.Size = ball1.Size + Vector3.new(0.1,0.1,0.1)
  479. ball11.CFrame = cf * CFrame.fromEulerAnglesXYZ(0,cfval1,cfval1 + math.random(-1,1))
  480. wait()
  481. game.Players.LocalPlayer.Character.Humanoid.CameraOffset = Vector3.new(math.random(-1.3,1.3),math.random(-1.3,1.3),math.random(-1.3,1.3))
  482. ball1.Size = ball1.Size + Vector3.new(0.2,0.2,0.2)
  483. ball1.CFrame = cf * CFrame.fromEulerAnglesXYZ(0,cfval,cfval + math.random(-1,1))
  484. ball1.BrickColor = BrickColor.new("Institutional white")
  485. --
  486. ball11.BrickColor = BrickColor.new("Really black")
  487. ball11.Size = ball1.Size + Vector3.new(0.1,0.1,0.1)
  488. ball11.CFrame = cf * CFrame.fromEulerAnglesXYZ(0,cfval1,cfval1 + math.random(-1,1))
  489. wait()
  490. end
  491. local boom = Instance.new("Explosion", workspace)
  492. boom.Position = ball.Position
  493. boom.BlastRadius = 100
  494. big:Play()
  495. wah:Play()
  496. for i = 1,70 do
  497. game.Players.LocalPlayer.Character.Humanoid.CameraOffset = Vector3.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))
  498. cfval1 = cfval1 - 1
  499. cfval = cfval + 1
  500. ball1.Size = ball1.Size + Vector3.new(0.5,0.5,0.5)
  501. ball1.CFrame = cf * CFrame.fromEulerAnglesXYZ(0,cfval,cfval + math.random(-2,2))
  502. ball1.BrickColor = BrickColor.new("Really black")
  503. --
  504. ball11.BrickColor = BrickColor.new("Really black")
  505. ball11.Size = ball1.Size + Vector3.new(0.5,0.5,0.5)
  506. ball11.CFrame = cf * CFrame.fromEulerAnglesXYZ(0,cfval1,cfval1 + math.random(-2,2))
  507. wait()
  508. game.Players.LocalPlayer.Character.Humanoid.CameraOffset = Vector3.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))
  509. ball1.Size = ball1.Size + Vector3.new(0.5,0.5,0.5)
  510. ball1.CFrame = cf * CFrame.fromEulerAnglesXYZ(0,cfval,cfval + math.random(-2,2))
  511. ball1.BrickColor = BrickColor.new("Institutional white")
  512. --
  513. ball11.BrickColor = BrickColor.new("Institutional white")
  514. ball11.Size = ball1.Size + Vector3.new(0.5,0.5,0.5)
  515. ball11.CFrame = cf * CFrame.fromEulerAnglesXYZ(0,cfval1,cfval1 + math.random(-2,2))
  516. wait()
  517. end
  518. for i = 1,20 do
  519. game.Players.LocalPlayer.Character.Humanoid.CameraOffset = Vector3.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))
  520. cfval1 = cfval1 - 1
  521. cfval = cfval + 1
  522. ball1.Transparency = ball1.Transparency + 0.05
  523. ball1.Size = ball1.Size + Vector3.new(0.5,0.5,0.5)
  524. ball1.CFrame = cf * CFrame.fromEulerAnglesXYZ(0,cfval,cfval + math.random(-2,2))
  525. ball1.BrickColor = BrickColor.new("Really black")
  526. --
  527. ball11.Transparency = ball11.Transparency + 0.05
  528. ball11.BrickColor = BrickColor.new("Really black")
  529. ball11.Size = ball1.Size + Vector3.new(0.5,0.5,0.5)
  530. ball11.CFrame = cf * CFrame.fromEulerAnglesXYZ(0,cfval1,cfval1 + math.random(-2,2))
  531. wait()
  532. ball1.Transparency = ball1.Transparency + 0.05
  533. game.Players.LocalPlayer.Character.Humanoid.CameraOffset = Vector3.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))
  534. ball1.Size = ball1.Size + Vector3.new(0.5,0.5,0.5)
  535. ball1.CFrame = cf * CFrame.fromEulerAnglesXYZ(0,cfval,cfval + math.random(-2,2))
  536. ball1.BrickColor = BrickColor.new("Institutional white")
  537. --
  538. ball11.Transparency = ball11.Transparency + 0.05
  539. ball11.BrickColor = BrickColor.new("Institutional white")
  540. ball11.Size = ball1.Size + Vector3.new(0.5,0.5,0.5)
  541. ball11.CFrame = cf * CFrame.fromEulerAnglesXYZ(0,cfval1,cfval1 + math.random(-2,2))
  542. wait()
  543. end
  544. game.Players.LocalPlayer.Character.Humanoid.CameraOffset = Vector3.new(0,0,0)
  545. ball1:destroy()
  546. ball11:destroy()
  547. canwtfboom = true
  548. end
  549. end
  550. ball.Touched:connect(wtfboom)
  551. for i = 0,1 , 0.2 do
  552. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.02446938, 0.552541018, -0.327054977, 0.951061666, 0.309009731, -7.40417818e-07, 0.095487982, -0.293892294, -0.951057374, -0.293886364, 0.904513896, -0.309014499),i)
  553. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(0.102849007, 1.10630536, -1.02422714, 0.866026998, -0.495132118, 0.0695825815, -0.219193026, -0.501041591, -0.837204993, 0.449390769, 0.709789872, -0.542445064),i)
  554. game:GetService("RunService").RenderStepped:wait()
  555. end
  556. wait(1)
  557. for i = 0,1 , 0.01 do
  558. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.02447033, 0.439801455, -0.878314972, 0.951058984, 0.309009612, -2.5504616e-07, -0.0215563904, 0.066344671, -0.997563899, -0.308256835, 0.948742032, 0.069758825),i)
  559. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.300170898, 0.848037004, -1.02149391, 0.866025567, -0.433015972, 0.249994561, -0.03488167, -0.551093698, -0.833714128, 0.49878186, 0.713297307, -0.492365628),i)
  560. game:GetService("RunService").RenderStepped:wait()
  561. end
  562. SpecialMesh1.MeshId = "http://www.roblox.com/asset/?id=31601544"
  563. SpecialMesh1.TextureId = "http://www.roblox.com/asset/?id=31601599"
  564. end
  565. killing = false
  566. end
  567. end
  568. mouse.Button1Down:connect(diefags)
  569. --by Rufus14
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement