DyktailJunior

Untitled

Jun 21st, 2025
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. --[[
  2. ⚡ KODA LANDING PAD EFFECT
  3. Made by Koda – dev anywhere. No PC needed.
  4. ]]
  5.  
  6. local part = script.Parent
  7. local TweenService = game:GetService("TweenService")
  8.  
  9. local flashInfo = TweenInfo.new(0.15, Enum.EasingStyle.Linear, Enum.EasingDirection.Out)
  10.  
  11. part.Touched:Connect(function(hit)
  12. local hum = hit.Parent:FindFirstChild("Humanoid")
  13. if not hum then return end
  14.  
  15. -- quick yellow flash when a player arrives
  16. local flash = TweenService:Create(part, flashInfo, {Color = Color3.new(1,1,0)})
  17. flash:Play()
  18. flash.Completed:Wait()
  19. part.Color = Color3.fromRGB(0,170,255)
  20. end)
  21.  
Advertisement
Add Comment
Please, Sign In to add comment