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

Game scripting, GUIS. Help me please?

Asked by 10 years ago

Im recently working on this project called S.S (Not named.) Its a roleplay house in a hill with a river and beach, but I am looking for a gui that can teleport you to a vip. Im trying to make scripts to this to make it more detailed, Thanks if you can find the gui for me, (B.T.W, Any fund given to me by gamepass & visits will go to who ever succesfully helps me. Thanks.) If you got any idea for the game I will truly appreciate it. If you help I maybe give you administrator commands. Thanks -cmcintyre

2 answers

Log in to vote
0
Answered by
gkCode 10
10 years ago

Do something like this. Make sure you have a TextButton in your GUI. Just to clarify, this script I am about to give will teleport the player to a VIP room. I hope I am not mistaken. :/

Put a LocalScript in the ScreenGui that has your button. Do not change the name of ANYTHING. (Besides the text in the button.) :)

Button = script.Parent.TextButton
Button.MouseEnter:connect(function()
Button.MouseButton1Click:connect(function()
game.Players.LocalPlayer.Character.Torso.CFrame = CFrame.new(...)
end)
end)

Be sure to edit where the character is teleported in this script! I just did 3 dots for the explanation.

Hope this helps! Message me, gkCode, on ROBLOX if you need help.

Ad
Log in to vote
-2
Answered by 10 years ago

I have a model PM me on ROBLOX and Ill help ya

Answer this question