Advertisement
RobloxScripter133Hmm

/:)

Oct 21st, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.76 KB | None | 0 0
  1. local gui = Instance.new("ScreenGui",game.Players.MrRobloxTutorialsGo.PlayerGui)
  2. local button = Instance.new("TextButton",gui)
  3.  
  4. button.Size = UDim2.new(0,200,0,100)
  5. button.text = "DESTROY TA WORLD!"
  6.  
  7. -- Variables --
  8.  
  9. local TheOwner = "MrRobloxTutorialsGo" -- CHANGE THE NAME TO YOUR NAME \ This Is For What Player Can Use It
  10.  
  11. -- Script --
  12.  
  13. button.MouseButton1Click:Connect(function() -- Checks If Its Clicked
  14. local BallEffect = Instance.new("Part",game.Workspace:FindFirstChild(TheOwner).Torso) -- Created A Ball Effect
  15. BallEffect.Shape = Enum.PartType.Ball -- Makes The Shape To A Ball
  16. BallEffect.Size = Vector3.new(2,2,2) -- Makes A Perfect Size
  17. BallEffect.BrickColor = BrickColor.new("Really red") -- Changes The Color To Red
  18. BallEffect.CanCollide = false -- Makes That You Can Go Through The Ball Effect
  19. BallEffect.Anchored = true -- Makes That The Ball Effect Wont Fall
  20. BallEffect.Position = game.Workspace:FindFirstChild(TheOwner).Torso.Position -- It Makes The The Ball Effect Goes To The Owner Head
  21. BallEffect.BottomSurface = "Smooth" -- Makes The Bottom Surface Smooth
  22. BallEffect.TopSurface = "Smooth" -- Makes The Top Surface Smooth
  23. local sound = Instance.new("Sound",BallEffect)
  24. sound.SoundId = "rbxassetid://2648563122"
  25. sound.Volume = 10
  26. sound:Play()
  27. for i = 1,100 do -- It Makes It Repeat 20 Times
  28. wait(0.001) -- Adds A Wait
  29. BallEffect.Size = BallEffect.Size + Vector3.new(3,3,3) -- Changes The Size
  30. end -- Ends The Script
  31. for i = 1,10 do -- It Makes It Repeat 20 Times
  32. wait(0.001) -- Adds A Wait
  33. BallEffect.Size = BallEffect.Size + Vector3.new(3,3,3) -- Changes The Size
  34. BallEffect.Transparency = BallEffect.Transparency + 0.1 -- Makes It Invisible
  35. end -- Ends The Script
  36. wait(2)
  37. sound:Destroy()
  38. end) -- Ends The Script
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement