Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local SleepingEvent = game.ReplicatedStorage.SleepingEvent
- local UpFrame = script.Parent.UpFrame
- local DownFrame = script.Parent.DownFrame
- SleepingEvent.OnClientEvent:Connect(function()
- UpFrame.Position = UDim2.new(0,0,-1,0)
- DownFrame.Position = UDim2.new(0,0,1,0)
- wait(3)
- UpFrame:TweenPosition(UDim2.new(0,0,0,0),.1)
- DownFrame:TweenPosition(UDim2.new(0,0,0.5,0),.1)
- wait(3)
- UpFrame:TweenPosition(UDim2.new(0,0,-1,0),.1)
- DownFrame:TweenPosition(UDim2.new(0,0,1,0),.1)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement