Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Why is the working only on play solo but not online?

Please Help!!! Here is the script:

debounce = false
c = script.Parent.Parent.Parent
a = script.Parent
b = script.Parent.Parent.AboutButton
a.MouseButton1Click:connect(function()
if debounce == false then
debounce = true
	a.TextTransparency = 0 
	wait(.1)
	a.TextTransparency = 0.1
	wait(.1)
	a.TextTransparency = 0.2
	wait(.1)
	a.TextTransparency = 0.3
	wait(.1)
	a.TextTransparency = 0.4
	wait(.1)
	a.TextTransparency = 0.5
	wait(.1)
	a.TextTransparency = 0.6
	wait(.1)
	a.TextTransparency = 0.7
	wait(.1)
	a.TextTransparency = 0.8
	wait(.1)
	a.TextTransparency = 0.9
	wait(.1)
	a.TextTransparency = 1
	b.TextTransparency = 0.1
	wait(.1)
	b.TextTransparency = 0.2
	wait(.1)
	b.TextTransparency = 0.3
	wait(.1)
	b.TextTransparency = 0.4
	wait(.1)
	b.TextTransparency = 0.5
	wait(.1)
	b.TextTransparency = 0.6
	wait(.1)
	b.TextTransparency = 0.7
	wait(.1)
	b.TextTransparency = 0.8
	wait(.1)
	b.TextTransparency = 0.9
	wait(.1)
	b.TextTransparency = 1
	wait(.2)
	    game.Players.LocalPlayer.Character.Torso.CFrame = CFrame.new(11.3, 51.4, 159.6) -- LocalScript for LocalPlayer
	c:remove ()
debounce = false
		end
	end)

So I'm not getting any errors but it still doesn't work. Here is the Gui it is in: BeginingGUI > ImageLabel > BeginButton > LocalScript Please Help what is wrong. THANKS!!!!!!!!

1 answer

✓ Accepted answer

Change it to a regular script not a local script.

5 comments

0

That worked but it didnt take me to the cframe position

0

Let me get that working.

0

oh wait hold on i put a debounce in it to

0

I was just about to type that lol.

0

But it still didn't transport me to (11.3, 51.4, 159.6)

This discussion is preserved as it was. New answers, comments, and votes are closed.