#i need help with my racer click simulator game
1 messages · Page 1 of 1 (latest)
please help
..
.
i need help with my racer click simulator game
instead of the track spawning in front infinitley it spawns to the side of it and i need to fix this issue
So... Can you provide ANY context instead of just the issue? There is literalyl a note about it in the beginning.
DO ✅ :-
Ask for specific help with your work.
Use relevant screenshots to describe the help you need.
Bump your original post instead of making a new one.
Explain briefly the help you need instead of just typing "Can someone help me?"
that is the context
Dude...
why you in here if you aint gonna help?
"Yeah. My soup tastes off. Idk what I'm doing wrong."
Instead what about giving screenshots or code snipets...
I wanna help thats why I came but I need more information than a base issue.
Btw mb for being mean.
So...
Can you please provide more information for me to be able to go off? I know its an axis issue but I need more info.
thats all i really know
im looking at it
and
ye
Can you send me your script?
Or a screenshot of the world?
Please?
** You are now Level 14! **
** You are now Level 1! **
local replicatedStorage = game:GetService("ReplicatedStorage")
local raceSection = replicatedStorage:WaitForChild("raceSection")
local map = workspace:WaitForChild("map")
local race = map:WaitForChild("race")
local stages = 0
local oldXPosition = 0
while stages < 1000 do
wait()
local newSection = raceSection:Clone()
newSection.Parent = race
newSection.base.BrickColor = BrickColor.random()
local newXPosition = oldXPosition
for i, child in pairs(newSection:GetChildren()) do
child.Position = child.Position + Vector3.new(0, 0,newXPosition)
end
oldXPosition = oldXPosition + 1000
stages = stages + 1
end
Can you send s screenshot of your world where the road is in the wrong direction?
Cuz if you have issues with the x position the actual forward position is probably the z position.
And you are setting the X position in the Z position's place.
child.Position = child.Position + Vector3.new(0, 0,newXPosition)
In vector its X, Y, Z
So you put the X_Cord in the Z_Cord's place.
Just replace it with:
child.Position = child.Position + Vector3.new(newXPosition, 0, 0)
This will probably fix your issue.
So...
Did it work or nah?