Advertisement
TheJake678

xdxdxdxddx

Sep 1st, 2021
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.97 KB | None | 0 0
  1. local rem = Instance.new("RemoteEvent",owner.Character)
  2. local ti = TweenInfo.new(3,Enum.EasingStyle.Sine,Enum.EasingDirection.InOut,0,false,.01)
  3. function tween(a,b,c)
  4. return game:GetService("TweenService"):Create(a,TweenInfo.new(b,Enum.EasingStyle.Sine,Enum.EasingDirection.InOut,0,false,.01),c)
  5. end
  6. rem.OnServerEvent:Connect(function(plr,mouse)
  7. if plr == owner then
  8. local part = Instance.new("FlagStand",script)
  9. part.Shape = "Ball"
  10. part.CanCollide = false
  11. part.Anchored = true
  12. part.BrickColor = BrickColor.new("Really red")
  13. part.Material = "Neon"
  14. part.Position = mouse.Hit.Position
  15. part.Size = Vector3.new(0,0,0)
  16. part.Transparency = 1
  17. local zzzz = Instance.new("Sound",part)
  18. zzzz.SoundId = "rbxassetid://965142286"
  19. zzzz.Volume = 10
  20. zzzz:Play()
  21. local explode = Instance.new("Sound",part)
  22. explode.SoundId = "rbxassetid://1442483080"
  23. explode.Volume = 10
  24. local a=Instance.new("FlagStand",part)
  25. a.Size = Vector3.new(0,24,24)
  26. a.Shape = "Cylinder"
  27. a.BrickColor = BrickColor.new("Really red")
  28. a.Material = "Neon"
  29. a.Anchored = true
  30. a.CanCollide = false
  31. a.CFrame = part.CFrame*CFrame.Angles(0,0,math.rad(90))
  32. wait(3.5)
  33. explode:Play()
  34. local part2 =part:Clone()
  35. part2.Transparency = 1
  36. tween(part,.3,{Transparency = 0}):Play()
  37. tween(part2,.3,{Transparency = 0}):Play()
  38. tween(a,.3,{Transparency = 1}):Play()
  39. part.Touched:Connect(function(hit)
  40. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  41. if hum and hum.Name ~= "evampoRAtErzzzzLHESfuiEurawotj"then
  42. hum.Name = "evampoRAtErzzzzLHESfuiEurawotj"
  43. for _,v in pairs(hit.Parent:GetDescendants()) do
  44. if v:IsA("Motor6D") then
  45. v:Destroy()
  46. end
  47. if v:IsA("BasePart") then
  48. local calccf = v.CFrame*CFrame.new(math.random()*5,math.random()*5,math.random()*5)*CFrame.Angles(math.rad(math.random()*200),math.rad(math.random()*200),math.rad(math.random()*200))
  49. tween(v,3,{Transparency = 1, CFrame = calccf,Color = Color3.fromRGB(255,0,0)}):Play()
  50. v.Material = "Neon"
  51. v.Anchored = true
  52. end
  53. if v:isA("Decal") then
  54. v:Destroy()
  55. end
  56. if v:IsA("Clothing") then
  57. v:Destroy()
  58. end
  59. if v:IsA("SpecialMesh") then
  60. v:Destroy()
  61. end
  62. if v.Name == "Head" and v:IsA("BasePart") then
  63. v.Size = Vector3.new(1,1,1)
  64. end
  65. end
  66. end
  67. end)
  68. wait(.3)
  69. a:Destroy()
  70. tween(part,3,{Size = Vector3.new(28,28,28),Transparency = 1}):Play()
  71. part2.Parent =part
  72. part2.Shape = "Cylinder"
  73. part2.Size = Vector3.new(2048,0,0)
  74. part2.CFrame=part.CFrame*CFrame.new(0,part2.Size.X/2,0)*CFrame.Angles(0,0,math.rad(90))
  75. game:GetService("Debris"):AddItem(part,3)
  76. tween(part2,3,{Size = Vector3.new(part2.Size.x,24,24),Transparency = 1}):Play()
  77. end
  78. end)
  79. NLS([[
  80. function giveServerMouse()
  81. script.Parent:FireServer({Hit = owner:GetMouse().Hit,Target = owner:GetMouse().Target})
  82. end
  83. owner:GetMouse().Button1Down:Connect(function()
  84. giveServerMouse()
  85. end)
  86. ]],rem)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement