Doesn't make it slide, or do anything. Please help!
debounce = false
script.Parent.Touched:connect(function(hit)
if debounce == false then
debounce = true
local humanoid = hit.Parent:FindFirstChild("Humanoid")
if humanoid then
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
-- do stuff
for i = 300, 150, -1 do
wait(0.5)
player.PlayerGui.Intro.Window.Position = UDim2.new(0,0,0.5,i)
end
debounce = false
end
end
end)

2 comments
Thank you so much for teaching me about Tweening! Now i became even better scripter! (Intermediate)
No problem at all! I highly recommend you take a look at the link I provided, as it can help explain what all the things after the Tween represent.