Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why in game wont my gui move, even though it works in studio?

Asked by 6 years ago
frame = script.Parent.Parent.Parent:WaitForChild("Frame")

function slide()
    frame:TweenPosition(UDim2.new(0.325,0,0.9,0), 'Out', 'Back', 2)

end

wait(10)
frame.Whoosh1:Play()
slide()

frame.TextButton.MouseButton1Down:connect(function()
    frame:TweenPosition(UDim2.new(0.325,0,0,0), 'In', 'Back', 1)
    wait(0.5)
    frame.Whoosh2:Play()
end)

Why roblox?

0
Do you mind if you provide Hierarchy and Inheritance information (Who's the parent of the script, where the script is placed, where is the frame etc.? ). Also, did you use localscript or script TokyoBuilder 5 — 6y

Answer this question