Yup. I committed the script+published.
1 Like
Can you send a link to your game on Roblox? (I can see the output and if it errors then it errors on my client)
The game is currently private. Want a file for studio?
1 Like
Can you make it public and then make it private? I can not assist you if I don’t know what issue you are having.
Here have this file, it would be easier: HereIsTheGame.rbxl (1.3 MB)
This means you can see all the scripts.
1 Like
What button am I supposed to click?
It is called “tp to lobby” and is located StarterGui>ToLobby>Button
1 Like
The script is erroring that blackout isn’t a valid member of PlayerGui
. It might have yielded the script, change your code to this:
local Player = game.Players.LocalPlayer
local TeleportService = game:GetService("TeleportService")
local TargetPlaceId = 5160406096
local object = script.Parent.Parent.Parent:WaitForChild("Blackout"):WaitForChild("Frame")
object.AnchorPoint = Vector2.new(0,0)
object.Position = UDim2.new(1, 0, 0, 0)
object.Visible = true
script.Parent.MouseButton1Down:Connect(function()
game.ReplicatedStorage.OtherSounds.Click:Play()
object.BackgroundTransparency = 0
object:TweenPosition(UDim2.new(0,0,0,0), Enum.EasingDirection.Out, Enum.EasingStyle.Bounce)
wait(0.5)
TeleportService:Teleport(TargetPlaceId, game.Players.LocalPlayer)
end)
React to this if it worked for you or not.
1 Like
Worked! Thanks for all the help, guys!
1 Like