So I have watched a video from Roblox called "Round Based Game: Random Positions" and I have followed every step but when I run it, it wont work. I am trying to move my part to a specific location and here is my script that didn't work --> local function blockExplosion() game.ServerStorage.blockBurst:Clone() game.ServerStorage.blockBurst:Clone().Parent = game.Workspace game.ServerStorage.blockBurst:Clone().Position = Vector3.new(-159, 0.5, -100) end
while true do wait(2) blockExplosion() end

3 comments
i think you should set game.ServerStorage.blockBurst:Clone() as a variable
Ok so I figured out my problem. The best thing to do to make your life easier is to have variables instead of typing out everything which is why mine didn't work. for example this is the script with variables and of course with random positions added: local function blockExplosion() local Block = game.ServerStorage.blockBurst:Clone() local yPosition = 32.5 local xPosition = math.random(-123.5,
Also yes, that's correct BeyondTheEdge thank you for your response