Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local TransitionEvent = game.ReplicatedStorage.TransitionEvent
- local player = game.Players.LocalPlayer
- local Transition = player.PlayerGui:WaitForChild("DialogueSystem").TransitionFrame
- TransitionEvent.OnClientEvent:Connect(function()
- Transition.Position = UDim2.new(-1,0,0,0)
- wait(3)
- Transition:TweenPosition(UDim2.new(0,0,0,0),.1)
- wait(3)
- Transition:TweenPosition(UDim2.new(-1,0,0,0),.1)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement