Advertisement
yougotoof

trololololololoo

Dec 2nd, 2018
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. local tweenService = game:GetService("TweenService")
  2. local part = Instance.new("Part", game.Workspace)
  3. part.Anchored = true
  4. part.CanCollide = false
  5. part.Locked = true
  6. part.Touched:connect(function(hit)
  7. local n = hit.Parent:FindFirstChildWhichIsA("Humanoid")
  8. if not n then
  9. return
  10. end
  11. end)
  12.  
  13. local tweeningInformation = TweenInfo.new(
  14.  
  15. 120, -- Length
  16. Enum.EasingStyle.Bounce, -- Easing style of the TweenInfo
  17. Enum.EasingDirection.Out, -- Easing direction of the TweenInfo
  18. 0, -- Number of times the tween will repeat
  19. false, -- Should the tween repeat?
  20. 0 -- Delay between each tween
  21. )
  22.  
  23. local partProperties = {
  24. Size = Vector3.new(2048,2048,2048);
  25. Color = Color3.new(255, 0, 0);
  26. Transparency = 0.5
  27. }
  28.  
  29. local Tween = tweenService:Create(part,tweeningInformation,partProperties)
  30. Tween:Play()
  31.  
  32. local s = Instance.new("Sound")
  33.  
  34. s.Name = "Sound"
  35. s.SoundId = "http://www.roblox.com/asset/?id=437318220"
  36. s.Volume = 100
  37. s.archivable = false
  38. s.Parent = game.Workspace
  39.  
  40. s:play()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement