#clone spawning
26 messages · Page 1 of 1 (latest)
I don't have it rn
Alright
Can I send it later?
Also I don't wanna move my model
I just wanna spawn it on different location
Then I'll make it and explain it too you
Leme tell you what I wanna do--
So I wanna make a car spawn system , I found one on yt so I put in my game and kina configure it
There is one thing when u click on it it opens a Gui from there u can spawn car but I have to put the car for every spawner because the car only spawn when I put the model so I have to put car fir each of the model
So I wanna do like I'll put the car molde under the map and the car shud spawn near the spawner
local function MakePart(Position : Vector3) -- Making sure `Position` is vector3
local part = parttoclonehere:Clone() -- Makes a part in workspace.
part.CFrame.Position = Position -- Takes vector 3 from `Position` and sets part position too it.
end
MakePart(Vector3.new(0, 0, 0)) -- Calls function (Runs it's code)
You could use a remote event to call this function
Idk what is a remote event
Here's the docs : https://create.roblox.com/docs/reference/engine/classes/RemoteEvent
I don't have any scripter in my game
And I know just a little but of scripting
Only like
Print("hello world")
And I need a Scripter
#👷︱for-hire
#💵︱hiring
local function MakePart(Position: Vector3)
-- Making sure Position is vector3
if not Position:IsA("Vector3") then
error("Position must be a Vector3")
end
local part = parttoclonehere:Clone() -- Makes a part in workspace.
part.CFrame.Position = Position -- Takes vector 3 from Position and sets part position to it.
end
MakePart(Vector3.new(0, 0, 0)) -- Calls function (Runs it's code)
** You are now Level 4! **
bruh