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

I need basic Tips for scripting?

Hey I am just needing basic scripts... Like a fade out GUI script... Or somthing like how to make a Lock first person script... Just the basic things for LUA scripting.

2 comments

0

wiki.roblox.com :)

0

Basicly, I have just started scripting so I am wondering if you could help me I am wanting to start a project but I probably wont get anywhere without help.

1 answer

Fade out GUI :

for i = 1,50 do -- be sure to put this inside your gui
	wait()
	script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency + .02 
-- subtracting will result non black adding will result in black
end

LockFirstPerson : (LOCALSCRIPT)

game.Players.LocalPlayer.CameraType = "LockFirstPerson"

1 comment

0

Thanks man you are a lifesaver!

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