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

How to make a PlaceID script, checking if it's the right placeID?

How can I make a script check for a PlaceID if it's the placeid it will run the script?

1 comment

0

Like if i write a script with the require function and if the place ID matches what i want it to be it will load the model

2 answers

✓ Accepted answer

I will help as much I can.

Step 1: Make a ModuleScript, and rename it to MainModule

Step 2: Inside the ModuleScript replace everything with the code you want to use, and upload it to Roblox. ( so say the code was : )

if game.PlaceId == 0000 then print("RIGHT ID") end

Step 3: Get the ID of the Model and do: require(IDofModel)

Please Accept my Answer if this Helped! :D

if game.PlaceId == 0000 then print("RIGHT ID") end

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