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

How can I make the gui spawn in different random places? [closed]

Asked by 10 years ago

So, this is the script in which what I want to happen is that when you click the gui it randomly chooses to spawn wherever in the map the spawns are.

local plr = game.Players.LocalPlayer local button = script.Parent button.MouseButton1Click:connect(function() plr.Character.Torso.CFrame = game.Workspace["GUIPart"].CFrame -- name of the block you want to teleport to. end)

Closed as Not Constructive by evaera

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?