Advertisement
DinhMinhNhat123

hmmm

Mar 16th, 2022
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. script.Parent.OnServerEvent:Connect(function(Player)
  2. local A = Player.Character.HumanoidRootPart.CFrame
  3. for i = 1,60 do
  4. local B = game.ReplicatedStorage.Stair:Clone()
  5. local C = A * CFrame.new(0,-3.684+(0.5*i),-1.7*i)
  6. B.Parent = workspace
  7. B.CFrame = C
  8. game.Debris:AddItem(B,10)
  9. game:GetService('TweenService'):Create(B,TweenInfo.new(.1,Enum.EasingStyle.Elastic,Enum.EasingDirection.InOut),{
  10. Transparency = 0.5
  11. }):Play()
  12. delay(9.5,function()
  13. game:GetService('TweenService'):Create(B,TweenInfo.new(.4,Enum.EasingStyle.Cubic,Enum.EasingDirection.In),{
  14. Transparency = 1
  15. }):Play()
  16. end)
  17. wait()
  18. end
  19. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement