Piyangkoon

prob something

Jul 2nd, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --Saz
  2. --For Qaeo
  3.  
  4. wait(2)
  5.  
  6. Tool=script.Parent
  7.  
  8. debounce=0 --disgusting
  9. filt={}
  10. puddles=0
  11. mode=true --true == mop, false == whack-an-idiot
  12. normGrip=CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, -0)
  13.  
  14. makePuddle=function()
  15. R=Ray.new(Tool.MoppityMop.MopEnd.Sponge.Position,Vector3.new(0,-100,0))
  16. par,loc=workspace:FindPartOnRayWithIgnoreList(R,filt)
  17. print((Tool.MoppityMop.MopEnd.Sponge.Position-loc).magnitude)
  18. if (Tool.MoppityMop.MopEnd.Sponge.Position-loc).magnitude<=1 then
  19. p=Instance.new("Part",workspace)
  20. p.Name="420slipit"
  21. p.BrickColor=BrickColor.new("Medium blue")
  22. p.Transparency=.3
  23. p.Reflectance=.3
  24. p.Material="SmoothPlastic"
  25. p.formFactor="Custom"
  26. p.Size=Vector3.new(3,.2,3)
  27. p.CFrame=CFrame.new(loc) + Vector3.new(0,.06,0)
  28. m=Instance.new("CylinderMesh")
  29. m.Scale=Vector3.new(1,.2,1)
  30. m.Offset=Vector3.new(0,-.05,0)
  31. m.Parent=p
  32. p.CanCollide=false
  33. p.Anchored=true
  34.  
  35. s=Instance.new("Sparkles")
  36. s.SparkleColor=Color3.new(1.1,1.1,1.1)
  37. s.Enabled=false
  38. s.Parent=p
  39.  
  40. s=script.PuddleScript:clone()
  41. t=Instance.new("StringValue",s)
  42. t.Name="Owner"
  43. t.Value=Tool.Parent.Name
  44. s.Disabled=false
  45. s.Parent=p
  46. game:GetService("Debris"):AddItem(p,60)
  47. debounce=6
  48. puddles=puddles+1
  49. coroutine.resume(coroutine.create(function(p)
  50. repeat wait() until p.Parent==nil
  51. puddles=puddles-1
  52. end),p)
  53. r=math.random(130,170)/100
  54. math.randomseed(tick())
  55. Tool.MoppityMop.MopEnd.Sponge.Mop.Pitch=r
  56. Tool.MoppityMop.MopEnd.Sponge.Mop:Play()
  57. else
  58. debounce=3
  59. end
  60. end
  61. GetNubs=function()
  62. scrubs={}
  63. for _,v in pairs(game.Workspace:children()) do
  64. if v:FindFirstChild("Humanoid")~=nil and v:FindFirstChild("Torso")~=nil and v.Name~=game.Players.LocalPlayer.Name then
  65. table.insert(scrubs,v)
  66. end
  67. end
  68. return scrubs
  69. end
  70. GetNubsInRadius=function(pos,radius)
  71. radius=radius
  72. scrubs=GetNubs()
  73. filtered={}
  74. for _,v in pairs(scrubs) do
  75. if v:FindFirstChild("Torso")~=nil then
  76. if (v.Torso.Position-pos).magnitude<=radius then
  77. table.insert(filtered,v)
  78. end
  79. end
  80. end
  81. return filtered
  82. end
  83. charging=false
  84. charge=0
  85. maxcharge=150
  86. chargerate=2
  87. swingfunc=function()
  88. if charging then return end
  89. charge=0
  90. R=game.Players.LocalPlayer.Character.Torso["Right Shoulder"]
  91. RC0=R.C0
  92. while isButtonDown do
  93. if charge < maxcharge then
  94. charge=charge+chargerate
  95. else
  96. if Tool.Handle:FindFirstChild("Fire")==nil then
  97. f=Instance.new("Fire",Tool.Handle)
  98. f.Size=10
  99. f.Heat=-25
  100. end
  101. end
  102. R.C0=RC0 * CFrame.fromEulerAnglesXYZ(0,0,math.rad(charge/2))
  103. wait(.03)
  104. end
  105. swingtime=4
  106. upval=(60 + charge / 5) / swingtime
  107. print(upval)
  108. for i=1, swingtime do
  109. wait(.03)
  110. R.C0=RC0 * CFrame.fromEulerAnglesXYZ(0,0,math.rad(charge/2) + math.rad(upval * i))
  111. end
  112. shakedist=40
  113. hitsize=4.4
  114. if charge==maxcharge then
  115. --sus
  116. p=Instance.new("Sound",Tool.Handle)
  117. p.Volume=1
  118. p.SoundId="http://www.roblox.com/asset/?id=195723714"
  119. p:Play()
  120. game:GetService("Debris"):AddItem(p,5)
  121. wait(1)
  122. scrubs=GetNubsInRadius(game.Players.LocalPlayer.Character.Torso.Position,shakedist)
  123. for _,v in pairs(scrubs) do
  124. if game.Players:GetPlayerFromCharacter(v) ~= nil then
  125. s=script.CamShake:clone()
  126. s.intensity.Value = 550
  127. s.times.Value = 25
  128. s.Disabled=false
  129. s.Parent=v
  130. end
  131. end
  132. s=script.CamShake:clone()
  133. s.intensity.Value = 550
  134. s.times.Value = 25
  135. s.Disabled=false
  136. s.Parent=game.Players.LocalPlayer.Character
  137. print(":>")
  138. wait(1)
  139. game:GetService("Debris"):AddItem(Tool.Handle.Fire,1)
  140. end
  141. num = charge/2 + upval * swingtime
  142. for i=1,5 do
  143. wait(.03)
  144. R.C0=RC0 * CFrame.fromEulerAnglesXYZ(0,0,math.rad(num) - math.rad((num+75) / 5 * i))
  145. end
  146.  
  147. p=Instance.new("Sound",Tool.Handle)
  148. p.Volume=1
  149. p.Pitch=1.3 - charge / 600
  150. p.SoundId="http://www.roblox.com/asset/?id=191395631"
  151. p:Play()
  152. game:GetService("Debris"):AddItem(p,5)
  153. num = (charge/2 + upval * swingtime - (num+75)) / 10
  154. if charge==maxcharge then
  155. doik=true
  156. else
  157. doik=false
  158. end
  159. for i=1, 10 do
  160. for _,v in pairs(GetNubsInRadius(Tool.MoppityMop.MopEnd.Sponge.Position,hitsize)) do
  161. print("HIT: "..v.Name)
  162. if v:FindFirstChild("Scrubnub") == nil then
  163. p=Instance.new("Sound",v:FindFirstChild("Torso"))
  164. p.Volume=1
  165. p.Pitch=1.15 - charge / 350
  166. p.SoundId="http://www.roblox.com/asset/?id=173818824"
  167. p:Play()
  168. game:GetService("Debris"):AddItem(p,5)
  169.  
  170. t=Instance.new("BoolValue",v)
  171. t.Name="Scrubnub"
  172. game:GetService("Debris"):AddItem(t,1)
  173.  
  174. if doik==false then
  175.  
  176. if charge/2 + 10 >= v.Humanoid.Health then
  177. ded=true
  178. else
  179. ded=false
  180. end
  181.  
  182. v.Torso.Velocity = Vector3.new(0,-40,0)
  183. v.Humanoid:TakeDamage(charge/2 + 20)
  184.  
  185. if ded then
  186.  
  187. wait(.37)
  188.  
  189. startpos=v:GetModelCFrame()
  190.  
  191. RR=Ray.new(startpos.p,Vector3.new(0,-200,0))
  192. par,loc=workspace:FindPartOnRayWithIgnoreList(RR,filt)
  193.  
  194. grave=script.WAT.ThatMopGuiHandler.Graves["Grave"..math.random(1,5)]:clone()
  195.  
  196. grave.PrimaryPart=grave.Base
  197. grave:SetPrimaryPartCFrame(CFrame.new(loc)*CFrame.fromEulerAnglesXYZ(0,math.pi/2*math.random(0,4),0))
  198.  
  199. grave.Parent=v
  200. for _,v in pairs(grave:children()) do
  201. v.Transparency=0
  202. end
  203.  
  204. v:BreakJoints()
  205. for _,v in pairs(v:children()) do
  206. if v.className~="Humanoid" and v:IsA("BasePart")==false then
  207. if v~=grave and v.Name~="Scrubnub" then
  208. v:Remove()
  209. end
  210. end
  211. if v:IsA("BasePart")==true then
  212. v.Anchored=true
  213. v.CanCollide=false
  214. v.Transparency=1
  215. v.CFrame=grave.PrimaryPart.CFrame
  216. end
  217. end
  218.  
  219. s=Instance.new("Sound",grave.PrimaryPart)
  220. if math.random(0,100)>80 then
  221. s.SoundId="http://www.roblox.com/asset/?id=153259684"
  222. else
  223. s.SoundId="http://www.roblox.com/asset/?id=154677261"
  224. end
  225. s.Volume=1
  226. s.Pitch=1
  227. s:Play()
  228. game:GetService("Debris"):AddItem(s,5)
  229.  
  230. end
  231.  
  232. else
  233.  
  234. m=Instance.new("Model",workspace)
  235. m.Name="Illuminaughty"
  236. p=Instance.new("Part",m)
  237. p.Name="REK"
  238. p.TopSurface=0
  239. p.BottomSurface=0
  240. p.Anchored=true
  241. p.CanCollide=false
  242. p.Transparency=1
  243. p.CFrame=v.Torso.CFrame
  244. b=Instance.new("BillboardGui",p)
  245. b.Size=UDim2.new(50,0,50,0)
  246. b.Adornee=p
  247. ss=script.REKT:clone()
  248. ss.Disabled=false
  249. ss.Parent=b
  250.  
  251. lel={"DAMN SON","REKT","SHREKT","4STOCK'D","GG NO RE","LATER'D","WOMBO COMBO","OUTPLAYED","SKILL"}
  252.  
  253. l=Instance.new("TextLabel",b)
  254. l.Name="Toplel"
  255. l.Size=UDim2.new(1,0,1,0)
  256. l.Position=UDim2.new(0,0,0,-2)
  257. l.BackgroundTransparency=1
  258. l.FontSize="Size24"
  259. l.Text=lel[math.random(1,#lel)]
  260. l.TextScaled=true
  261. coroutine.resume(coroutine.create(function(f,x)
  262. local joj=false
  263. local e = 0
  264. while f.Parent~=nil and e < 195 do
  265. wait(.03)
  266. joj=not joj
  267. if joj then
  268. f.TextColor3=Color3.new(1,0,0)
  269. else
  270. f.TextColor3=Color3.new(1,.7,.2)
  271. end
  272. if x==0 then
  273. f.Rotation=math.deg(math.sin(time() * 36) / 2.8)
  274. elseif x == 1 then
  275. f.Rotation=f.Rotation + 7
  276. elseif x == 2 then
  277. f.Parent.StudsOffset=f.Parent.StudsOffset + Vector3.new(0,math.deg(math.cos(e) / 10),0)
  278. end
  279. e=e+1
  280. end
  281. for i=1, 20 do
  282. f.TextTransparency=i/20
  283. joj=not joj
  284. if joj then
  285. f.TextColor3=Color3.new(1,0,0)
  286. else
  287. f.TextColor3=Color3.new(1,.7,.2)
  288. end
  289. f.Rotation=f.Rotation + i
  290. wait()
  291. end
  292. end),l,math.random(0,2))
  293.  
  294. e=Instance.new("Explosion",workspace)
  295. e.BlastRadius=10
  296. e.DestroyJointRadiusPercent = 0
  297. e.BlastPressure=e.BlastPressure * 2.2
  298. e.Position=p.Position
  299. tr=math.random(0,2)
  300. if tr==0 then
  301.  
  302. ps=Instance.new("Sound",p)
  303. ps.Volume=.9
  304. ps.Pitch=1
  305. ps.SoundId="http://www.roblox.com/asset/?id=195737599"
  306. ps:Play()
  307. game:GetService("Debris"):AddItem(ps,5)
  308.  
  309. elseif tr==1 then
  310.  
  311. ps=Instance.new("Sound",p)
  312. ps.Volume=.9
  313. ps.Pitch=1
  314. ps.SoundId="http://www.roblox.com/asset/?id=160423437"
  315. ps:Play()
  316. game:GetService("Debris"):AddItem(ps,5)
  317.  
  318. elseif tr==2 then
  319.  
  320. ps=Instance.new("Sound",p)
  321. ps.Volume=1
  322. ps.Pitch=1
  323. ps.SoundId="http://www.roblox.com/asset/?id=196980915"
  324. ps:Play()
  325. game:GetService("Debris"):AddItem(ps,5)
  326.  
  327. end
  328.  
  329. ps=Instance.new("Sound",p)
  330. ps.Volume=1
  331. ps.Pitch=1.2
  332. ps.SoundId="http://www.roblox.com/asset/?id=163680447"
  333. ps:Play()
  334. game:GetService("Debris"):AddItem(ps,5)
  335.  
  336. ids={185386145,185386156,185386168,181240874}
  337. p=Instance.new("Sound",p)
  338. p.SoundId="http://www.roblox.com/asset/?id="..ids[math.random(1,4)]
  339. p.Volume=1
  340. p:Play()
  341. coroutine.resume(coroutine.create(function(l)
  342. wait(11)
  343. if l~=nil then
  344. if l.Parent~=nil then
  345. l:Stop()
  346. wait(.5)
  347. l:Remove()
  348. end
  349. end
  350. end),p)
  351.  
  352. for __,vv in pairs(v:children()) do
  353. if vv.className=="Hat" then
  354. if vv:FindFirstChild("Handle") ~= nil then
  355. vv.Handle:BreakJoints()
  356. vv.Handle.Velocity=Vector3.new(math.random(-20,20),math.random(0,60),math.random(-20,20)) + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * math.random(40,60)
  357. vv.Handle.RotVelocity=Vector3.new(math.random(-40,40),math.random(-40,40),math.random(-40,40)) + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * math.random(10,30)
  358. end
  359. end
  360. if vv:IsA("BasePart") then
  361. vv:BreakJoints()
  362. vv.Velocity=Vector3.new(math.random(-80,80),math.random(0,200),math.random(-80,80)) + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * math.random(40,60)
  363. vv.RotVelocity=Vector3.new(math.random(-40,40),math.random(-40,40),math.random(-40,40)) + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * math.random(10,30)
  364. end
  365. end
  366.  
  367. end
  368. end
  369. end
  370. R.C0=R.C0 * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-num))
  371. wait(.03)
  372. end
  373. print(num)
  374. wait(.5)
  375. R.C0=RC0
  376. print("SUS",charge)
  377. end
  378. blowingup=false
  379. sitoop=function(key)
  380. if key=="m" and blowingup==false and game.Players.LocalPlayer.Name~="DahNoob" then --boop
  381. blowingup=true
  382. m=Tool.MoppityMop
  383. m.Welds.Disabled=true
  384. m.Parent=workspace
  385. for _,v in pairs(m.MopEnd:children()) do
  386. if v:IsA("BasePart") then
  387. v.CanCollide=true
  388. end
  389. end
  390. for _,v in pairs(m.MopHandle:children()) do
  391. if v:IsA("BasePart") then
  392. v.CanCollide=true
  393. end
  394. end
  395. Tool.Handle:BreakJoints()
  396. v=Instance.new("BodyVelocity",m.MopEnd.Joint)
  397. v.velocity=Tool.Parent.Torso.CFrame.lookVector*15+Vector3.new(0,10,0)
  398. v.P=5000
  399. v.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  400. v.Parent=m.MopEnd.Joint
  401. game:GetService("Debris"):AddItem(v,.4)
  402. s=script.WAT:clone()
  403. s.Disabled=false
  404. s.Parent=m
  405.  
  406. wait(.25)
  407.  
  408. Tool:Remove()
  409. elseif key=="z" and blowingup==false then
  410. mode=not mode
  411. end
  412. end
  413.  
  414. isButtonDown=false
  415.  
  416. onEquipLocal=function(mouse)
  417. mouse.KeyDown:connect(sitoop)
  418. Grip=nil
  419. while Grip==nil do
  420. if game.Players.LocalPlayer.Character["Right Arm"]:FindFirstChild("RightGrip")~=nil then
  421. Grip=game.Players.LocalPlayer.Character["Right Arm"]:FindFirstChild("RightGrip")
  422. end
  423. wait()
  424. end
  425. print("Grip located")
  426. end
  427. Tool.Equipped:connect(onEquipLocal)
  428.  
  429. Tool.Activated:connect(function() if blowingup==false then isButtonDown=true end end)
  430. Tool.Deactivated:connect(function() isButtonDown=false end)
  431.  
  432. check=54
  433. checkat=55
  434. while true do
  435. if isButtonDown==true and Tool.Parent.className=="Model" and mode then
  436. if debounce==0 then
  437. if puddles<40 then
  438. makePuddle()
  439. end
  440. else
  441. debounce=debounce-1
  442. end
  443. end
  444. if mode==false and isButtonDown then
  445. swingfunc()
  446. end
  447. if mode and Grip then
  448. Grip.C0=normGrip
  449. elseif not mode and Grip then
  450. Grip.C0=normGrip*CFrame.Angles(math.pi/1.7,0,0)*CFrame.new(.2,.2,0)
  451. end
  452. check=check+1
  453. if check>=checkat and Tool.Parent.className=="Model" then
  454. check=0
  455.  
  456. lel={}
  457. filt={}
  458. lol=function(p)
  459. for _,v in pairs(p) do
  460. table.insert(lel,v)
  461. if #v:children()>0 then
  462. lol(v:children())
  463. end
  464. end
  465. end
  466. lol(workspace:children())
  467. for _,v in pairs(lel) do
  468. if v:IsA("BasePart") then
  469. if v.CanCollide==false or v.Parent:FindFirstChild("Humanoid") or v.Parent.className=="Hat" then
  470. table.insert(filt,v)
  471. end
  472. end
  473. end
  474. lel={} --clear cache
  475.  
  476. end
  477. if puddles==40 then
  478. Tool.MoppityMop.MopEnd.Joint.JointWeld.DesiredAngle=math.rad(-20)
  479. else
  480. Tool.MoppityMop.MopEnd.Joint.JointWeld.DesiredAngle=math.rad(20)
  481. end
  482. wait()
  483. end
  484.  
  485. wait()
  486. deb=true
  487. onTouched=function(hit)
  488. if hit==nil or deb==false then return end
  489. if hit.Parent==nil then return end
  490. h=hit.Parent:FindFirstChild("Humanoid")
  491. if h~=nil then
  492. deb=false
  493. sliproll=math.random(0,100)
  494. print(sliproll)
  495. if sliproll>=(93 - h.WalkSpeed*1.5) then
  496. if h.Parent:FindFirstChild("Client")==nil then
  497. if h.Parent:FindFirstChild("Torso")~=nil then
  498. if h.Parent.Torso:FindFirstChild("Rekt")==nil then
  499. if script.Owner.Value~=hit.Parent.Name then
  500. s=script.Client:clone()
  501. s.Disabled=false
  502. s.Parent=hit.Parent
  503. print(":>")
  504. else
  505. if math.random(-50,50)>20 then --saving throw for owner
  506. s=script.Client:clone()
  507. s.Disabled=false
  508. s.Parent=hit.Parent
  509. print(":>")
  510. end
  511. end
  512. end
  513. end
  514. end
  515. end
  516. wait(.2)
  517. deb=true
  518. end
  519. end
  520. script.Parent.Touched:connect(onTouched)
  521. e=0
  522. c=script.Parent.CFrame
  523. size=math.random(5,11)
  524. flash=0
  525. while e<280 do
  526. r=math.random(0,100)
  527. jooj=math.random(-5000,500000)
  528. math.randomseed(jooj)
  529. if r>=40 and flash<=0 then
  530. coroutine.resume(coroutine.create(function()
  531. flash=math.random(40,120)
  532. script.Parent.Sparkles.Enabled=true
  533. wait(.06)
  534. script.Parent.Sparkles.Enabled=false
  535. end))
  536. end
  537. e=e+1
  538. script.Parent.Size=script.Parent.Size+Vector3.new(size/100,0,size/100)
  539. script.Parent.CFrame=c
  540. flash=flash-1
  541. wait(.03)
  542. end
  543. e=0
  544. while e<180 do
  545. r=math.random(0,100)
  546. if r>=40 and flash<=0 then
  547. coroutine.resume(coroutine.create(function()
  548. flash=math.random(40,70)
  549. script.Parent.Sparkles.Enabled=true
  550. wait(.06)
  551. script.Parent.Sparkles.Enabled=false
  552. end))
  553. end
  554. e=e+1
  555. flash=flash-1
  556. wait(.03)
  557. end
  558. wait(4)
  559. script.Parent:Remove()
  560.  
  561. --420slipit
  562.  
  563. wait(.06)
  564.  
  565. for _,v in pairs(script.Parent:children()) do
  566. if v~=script and v.Name=="Client" then
  567. script:Remove()
  568. end
  569. end
  570.  
  571. Torso=script.Parent.Torso
  572. Humanoid=script.Parent.Humanoid
  573.  
  574. g=Instance.new("BodyGyro",Torso)
  575. g.Name="Rekt"
  576. g.P=8000
  577. g.maxTorque=Vector3.new(5000000000000,5000000000000,5000000000000)
  578. g.D=300
  579. if Torso.Velocity.magnitude>3 then
  580. g.cframe=CFrame.new(Torso.Position,Torso.Position+Vector3.new(Torso.Velocity.x*4,0,Torso.Velocity.z*4))
  581. else
  582. g:Remove()
  583. script:Remove()
  584. --notfastenough
  585. end
  586.  
  587. v=Instance.new("BodyVelocity",Torso)
  588. v.Name="U wot?"
  589. v.P=2000
  590. v.maxForce=Vector3.new(500000000,50000000,500000000)
  591. v.velocity=Torso.Velocity*2 + Vector3.new(0,math.random(20,30)*.8 - math.abs(Torso.Velocity.y/2),0)
  592.  
  593. mag=v.velocity.magnitude
  594.  
  595. sss=math.random(75,105)/100
  596. for i=1, 2 do
  597. p=Instance.new("Sound",Torso)
  598. p.SoundId="http://www.roblox.com/asset/?id=186575512"
  599. p.Pitch=sss
  600. p.Volume=1
  601. p.Parent=Torso
  602. p:Play()
  603. game:GetService("Debris"):AddItem(p,5)
  604. end
  605.  
  606. leldir=1
  607. if math.random(0,100)>60 then
  608. leldir=-1
  609. v.velocity=Torso.Velocity*2.5 + Vector3.new(0,math.random(6,10) - math.abs(Torso.Velocity.y/2),0)
  610. end
  611.  
  612. for i=1, 5 do
  613.  
  614. g.Parent=Torso
  615. v.Parent=Torso
  616. Humanoid.PlatformStand=true
  617. v.velocity=v.velocity - Vector3.new(0,i*2,0)
  618. g.cframe=g.cframe*CFrame.fromEulerAnglesXYZ(math.rad(90/5)*leldir,0,0)
  619.  
  620. wait()
  621. end
  622. for i=1, 40 do
  623. v.velocity=Vector3.new(v.velocity.x*.955,-50 + i*.1,v.velocity.z*.955)
  624. g.Parent=Torso
  625. v.Parent=Torso
  626. Humanoid.PlatformStand=true
  627. wait()
  628. end
  629. v.maxForce=Vector3.new(5000,800000,5000)
  630. v.velocity=Vector3.new(0,-5,0)
  631. for i=1, 40 do
  632. g.Parent=Torso
  633. v.Parent=Torso
  634. Humanoid.PlatformStand=true
  635. v.velocity=Vector3.new(0,-5 + i*.05,0)
  636. wait()
  637. end
  638. p:Remove()
  639. v:Remove()
  640. g:Remove()
  641. Humanoid.PlatformStand=false
  642. wait(math.random(20,40)/10)
  643. script:Remove()
  644.  
  645. wait()
  646. Images={
  647. "http://www.roblox.com/asset/?id=186565637",
  648. "http://www.roblox.com/asset/?id=186565642",
  649. "http://www.roblox.com/asset/?id=186565650",
  650. "http://www.roblox.com/asset/?id=186565652",
  651. "http://www.roblox.com/asset/?id=186565662",
  652. "http://www.roblox.com/asset/?id=186565671",
  653. "http://www.roblox.com/asset/?id=186565685",
  654. "http://www.roblox.com/asset/?id=186565693",
  655. "http://www.roblox.com/asset/?id=186565702",
  656. "http://www.roblox.com/asset/?id=186565710",
  657. "http://www.roblox.com/asset/?id=186565720",
  658. "http://www.roblox.com/asset/?id=186565730",
  659. "http://www.roblox.com/asset/?id=186565734",
  660. "http://www.roblox.com/asset/?id=186565741",
  661. "http://www.roblox.com/asset/?id=186565749",
  662. "http://www.roblox.com/asset/?id=186565754",
  663. }
  664. sos=script.Parent
  665. for i=1, #Images do
  666. p=Instance.new("ImageLabel",sos)
  667. p.Image=Images[i]
  668. p.BackgroundTransparency=1
  669. p.Visible=false
  670. p.Size=UDim2.new(1,0,1,0)
  671. p.Name=i
  672. end
  673. i=0
  674. sossij=0
  675. lel=game:GetService("RunService").Heartbeat:connect(function()
  676. if i<#Images then
  677. if sossij==1 then
  678. i=i+1
  679. script.Parent[i].Visible=true
  680. if i>1 then
  681. script.Parent[i-1]:Remove()
  682. end
  683. sossij=0
  684. else
  685. sossij=1
  686. end
  687. else
  688. lel:disconnect()
  689. end
  690. end)
  691. rekt={"http://www.roblox.com/asset/?id=185386536",
  692. "http://www.roblox.com/asset/?id=8979672",
  693. "http://www.roblox.com/asset/?id=10524802",
  694. "http://www.roblox.com/asset/?id=176067516",
  695. "http://www.roblox.com/asset/?id=179012130",
  696. "http://www.roblox.com/asset/?id=155875030",
  697. "http://www.roblox.com/asset/?id=180976600",
  698. "http://www.roblox.com/asset/?id=188207856",
  699. "http://www.roblox.com/asset/?id=89513267",
  700. "http://www.roblox.com/asset/?id=196248465",
  701. }
  702. sparkles={"http://www.roblox.com/asset/?id=186675771",
  703. "http://www.roblox.com/asset/?id=185386497",
  704. "http://www.roblox.com/asset/?id=185386514"}
  705. for jooj=1, 70 do
  706. p=Instance.new("Part",sos)
  707. p.Name="Shrubbery"
  708. p.TopSurface=0
  709. p.BottomSurface=0
  710. p.Transparency=1
  711.  
  712. p.Shape="Ball"
  713. soos=math.random(2,5)
  714. p.Size=Vector3.new(soos,soos,soos)
  715. p.CFrame=sos.Parent.CFrame * CFrame.new(Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50))/8)
  716.  
  717. p.Velocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) * 3.7
  718.  
  719. b=Instance.new("BillboardGui",p)
  720. b.Name="SOSSIJ"
  721. b.Size=UDim2.new(soos*2,0,soos*2,0)
  722. b.Adornee=p
  723. s=Instance.new("ImageLabel",b)
  724. s.Name="Qaeoisgeyhuehuehuehuehuehuehueheuehu"
  725. s.Size=UDim2.new(1,0,1,0)
  726. s.Position=UDim2.new(0,0,0,0)
  727. s.Image=rekt[math.random(1,#rekt)]
  728. s.BackgroundTransparency=1
  729.  
  730. p.Elasticity=0
  731.  
  732. f=Instance.new("BodyVelocity")
  733. f.velocity=p.Velocity / 4
  734. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  735. f.Parent=p
  736.  
  737. coroutine.resume(coroutine.create(function(p,sus)
  738. local e = 0
  739. while p.Parent~=nil and e < 150 do
  740. p.Rotation=p.Rotation + sus
  741. e = e + 1
  742. wait()
  743. end
  744. for i=1, 10 do
  745. p.ImageTransparency=i / 10
  746. wait()
  747. end
  748. p:Remove()
  749. end),s,math.random(-14,14))
  750.  
  751. game:GetService("Debris"):AddItem(p,15)
  752. wait(.04)
  753. end
  754. repeat wait() until i==#Images
  755. script.Parent[#Images].Visible=false
  756. script.Parent[#Images]:Remove()
  757. wait(18)
  758. sos.Parent.Parent:Destroy()
  759.  
  760. wait(math.random(5,40))
  761. Tool=script.Parent
  762. Sound=Tool.MopEnd.Joint.Boop
  763. l=Instance.new("PointLight")
  764. l.Parent=Tool.MopHandle.Poot
  765. l.Shadows=false
  766. l.Color=Color3.new(1,0,0)
  767. l.Range=18
  768. l.Enabled=false
  769. Sound.Pitch=1
  770. for i=1, 5 do
  771. Sound:Play()
  772. l.Enabled=true
  773. wait(.1)
  774. l.Enabled=false
  775. wait(.9)
  776. end
  777. scrompts={}
  778. for _,v in pairs(game.Players:children()) do
  779. if v.Character~=nil then
  780. if v.Character:FindFirstChild("Torso")~=nil then
  781. if (v.Character.Torso.Position-l.Parent.Position).magnitude<=1800 then
  782. lel=script.ThatMopGuiHandler:clone()
  783. lel.Disabled=false
  784. lel.Parent=v.PlayerGui
  785. table.insert(scrompts,lel)
  786. end
  787. end
  788. end
  789. end
  790. for i=1, 5 do
  791. Sound.Pitch=1.25
  792. Sound:Play()
  793. l.Enabled=true
  794. wait(.1)
  795. l.Enabled=false
  796. wait(.4)
  797. end
  798. for i=1, 5 do
  799. Sound.Pitch=1.5
  800. Sound:Play()
  801. l.Enabled=true
  802. wait(.1)
  803. l.Enabled=false
  804. wait(.15)
  805. end
  806. for _,v in pairs(game.Players:children()) do
  807. if v.Character~=nil and v.PlayerGui:FindFirstChild("ThatMopGuiHandler")==nil then
  808. if v.Character:FindFirstChild("Torso")~=nil then
  809. if (v.Character.Torso.Position-l.Parent.Position).magnitude<=1800 then
  810. lel=script.ThatMopGuiHandler:clone()
  811. lel.Disabled=false
  812. lel.Parent=v.PlayerGui
  813. table.insert(scrompts,lel)
  814. end
  815. end
  816. end
  817. end
  818. l.Enabled=true
  819. for i=1, 8 do
  820. Sound.Pitch=2
  821. Sound:Play()
  822. wait(.08)
  823. end
  824. wait(.5)
  825. for _,v in pairs(scrompts) do
  826. p=Instance.new("BoolValue",v)
  827. p.Name="GOE"
  828. end
  829. wait(1)
  830. l:Remove()
  831. Tool:Remove()
  832.  
  833. --get spooked
  834. wait()
  835.  
  836. imagetable={
  837. "http://www.roblox.com/asset/?id=186565366",
  838. "http://www.roblox.com/asset/?id=186565386",
  839. "http://www.roblox.com/asset/?id=186565394",
  840. "http://www.roblox.com/asset/?id=186565400",
  841. "http://www.roblox.com/asset/?id=186565408",
  842. "http://www.roblox.com/asset/?id=186565413",
  843. "http://www.roblox.com/asset/?id=186565417",
  844. "http://www.roblox.com/asset/?id=186565425",
  845. "http://www.roblox.com/asset/?id=186565433",
  846. "http://www.roblox.com/asset/?id=186565445",
  847. "http://www.roblox.com/asset/?id=186565454",
  848. "http://www.roblox.com/asset/?id=186565461",
  849. "http://www.roblox.com/asset/?id=186565474",
  850. "http://www.roblox.com/asset/?id=186565480",
  851. "http://www.roblox.com/asset/?id=186565489",
  852. "http://www.roblox.com/asset/?id=186565497",
  853. "http://www.roblox.com/asset/?id=186565502",
  854. "http://www.roblox.com/asset/?id=186565508",
  855. "http://www.roblox.com/asset/?id=186565515",
  856. }
  857.  
  858. Player=game.Players.LocalPlayer
  859. F=Instance.new("ScreenGui",Player.PlayerGui)
  860. F.Name="Rekt"
  861.  
  862. for i=1, 19 do
  863. FF=Instance.new("ImageLabel",F)
  864. FF.Size=UDim2.new(1.1,0,1.1,0)
  865. FF.Position=UDim2.new(-.05,0,-.05,0)
  866. FF.Image=imagetable[i]
  867. FF.Visible=false
  868. FF.Name="Frame"..i
  869. FF.ZIndex=30-i
  870. end
  871.  
  872. repeat wait() until script:FindFirstChild("GOE")~=nil
  873.  
  874. if script:FindFirstChild("NVM")~=nil then
  875. script:Remove()
  876. end
  877.  
  878. F.Frame1.Visible=true
  879. wait(.5)
  880. F.Frame2.Visible=true
  881.  
  882. s=Instance.new("Sound",workspace.CurrentCamera)
  883. s.SoundId="http://www.roblox.com/asset/?id=165969964"
  884. s.Volume=1
  885. s.Pitch=.7
  886. s:Play()
  887. game:GetService("Debris"):AddItem(s,15)
  888. ss=Instance.new("Sound",workspace.CurrentCamera)
  889. ss.SoundId="http://www.roblox.com/asset/?id=148601165"
  890. ss.Volume=1
  891. ss.Pitch=.8
  892. ss:Play()
  893. game:GetService("Debris"):AddItem(s,15)
  894. for i=2, 19 do
  895. F["Frame"..i].Visible=true
  896. for _,v in pairs(F:children()) do
  897. if v.Name~="Frame"..i then
  898. v.Visible=false
  899. end
  900. end
  901. wait(.2)
  902. end
  903.  
  904. lel={}
  905. filt={}
  906. lol=function(p)
  907. for _,v in pairs(p) do
  908. table.insert(lel,v)
  909. if #v:children()>0 then
  910. lol(v:children())
  911. end
  912. end
  913. end
  914. lol(workspace:children())
  915. for _,v in pairs(lel) do
  916. if v:IsA("BasePart") then
  917. if v.CanCollide==false or v.Parent:FindFirstChild("Humanoid") or v.Parent.className=="Hat" then
  918. table.insert(filt,v)
  919. end
  920. end
  921. end
  922. lel={} --clear cache
  923.  
  924. startpos=Player.Character:GetModelCFrame()
  925.  
  926. R=Ray.new(startpos.p,Vector3.new(0,-200,0))
  927. par,loc=workspace:FindPartOnRayWithIgnoreList(R,filt)
  928.  
  929. grave=script.Graves["Grave"..math.random(1,5)]:clone()
  930. print(grave.Name)
  931.  
  932. grave.PrimaryPart=grave.Base
  933. grave:SetPrimaryPartCFrame(CFrame.new(loc)*CFrame.fromEulerAnglesXYZ(0,math.pi/2*math.random(0,4),0))
  934.  
  935. grave.Parent=Player.Character
  936. for _,v in pairs(grave:children()) do
  937. v.Transparency=0
  938. end
  939.  
  940. Player.Character:BreakJoints()
  941. for _,v in pairs(Player.Character:children()) do
  942. if v.className~="Humanoid" and v:IsA("BasePart")==false then
  943. if v~=grave then
  944. v:Remove()
  945. end
  946. end
  947. if v:IsA("BasePart")==true then
  948. v.Anchored=true
  949. v.CanCollide=false
  950. v.Transparency=1
  951. v.CFrame=grave.PrimaryPart.CFrame
  952. end
  953. end
  954.  
  955. s:Stop()
  956. ss:Stop()
  957. s=Instance.new("Sound",workspace.CurrentCamera)
  958. if math.random(0,100)>50 then
  959. s.SoundId="http://www.roblox.com/asset/?id=153259684"
  960. else
  961. s.SoundId="http://www.roblox.com/asset/?id=154677261"
  962. end
  963. s.Volume=1
  964. s.Pitch=1
  965. s:Play()
  966. game:GetService("Debris"):AddItem(s,5)
  967. wait(.06)
  968. F:Remove()
  969.  
  970. wait(.03)
  971. cam=workspace.CurrentCamera
  972.  
  973. intensit=script.intensity.Value
  974. times=script.times.Value
  975.  
  976. for i=1, times do
  977. dist=game.Players.LocalPlayer:DistanceFromCharacter(cam.CoordinateFrame.p)/6 + 1
  978. intens=intensit/dist
  979. cam.CoordinateFrame=cam.CoordinateFrame*CFrame.new(math.rad(math.random(-intens-1,intens+1)),math.rad(math.random(-intens-1,intens+1)),math.rad(math.random(-intens-1,intens+1)))*CFrame.fromEulerAnglesXYZ(math.rad(math.random(-intens-1,intens+1))*0,0,math.rad(math.random(-intens-1,intens+1)))
  980. wait(.03)
  981. end
  982.  
  983. wait(.1)
  984.  
  985. script:Remove()
Add Comment
Please, Sign In to add comment