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

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

Asked by 9 years ago

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

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 CodedEffects 10 — 9y

2 answers

Log in to vote
0
Answered by 9 years ago

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

Ad
Log in to vote
1
Answered by
Kurieita 125
9 years ago
if game.PlaceId == 0000 then print("RIGHT ID") end

Answer this question