Local script, when player hits a brick the GUI is supposed to slide into screen and stay for 3 seconds then slides back out. Not working for some reason. Script is in block and GUI is in StarterGUI
wait(1)
script.Parent.Touched:connect(function(part)
if not part.Parent then return end
local h = part.Parent:FindFirstChild("Humanoid")
if not h then return end
game.StarterGui.LElevator.Frame:TweenPosition(UDim2.new(.005,0,0,0), 'Out', 'Linear', .5 )
wait(3)
game.StarterGui.LElevator.Frame:TweenPosition(UDim2.new(-.005,0,0,0), 'Out', 'Linear', .5 )
end)

3 comments
Still not working I dunno man
I'll work on this a bit for myself and see if I can get a working script. I'll message you on ROBLOX if you want when I'm finished. :)
alright thanks man, i appreciate it