wait(3) local p = Instance.new("Part") p.Parent = game.Workspace p.Position = Vector3.new(-24.436, 0.5, 31.759) --Change the numbers to change the local of the platform. p.Size = Vector3.new(25, 25, 25) --Change the numbers to change the size from it. p.BrickColor = BrickColor.new(1) --Look at the wiki and Scripting Help, the first option on the page and look for Pallete Colors to Numbers. p.Locked = true p.Anchored = false wait(7) p:remove() end
COMMUNITY QUESTION
What is wrong with this script?
1 answer
Well once I cleaned everything up, it looked like this:
wait(3)
local p = Instance.new("Part")
p.Parent = game.Workspace
p.Position = Vector3.new(-24.436, 0.5, 31.759) --Change the numbers to change the local of the platform.
p.Size = Vector3.new(25, 25, 25) --Change the numbers to change the size from it.
p.BrickColor = BrickColor.new(1) --Look at the wiki and Scripting Help, the first option on the page and look for Palette Colors to Numbers.
p.Locked = true
p.Anchored = false
wait(7)
p:remove()
end --remove this end
One of the obvious problems is there's an extra end where there shouldn't be. unless there was a coping and pasting error, there's nothing else wrong with the script. If you are looking to do something else with the script, and it's not working the way you want it to: PUT IT INTO A CODE BLOCK. Give a more detailed explanation for what your doing. Links are below:
LINKS:
Roblox Wiki: http://wiki.roblox.com/index.php/Scripting
Roblox Forum: http://forum.roblox.com/Forum/default.aspx
Community Guidelines: https://scriptinghelpers.org/help/community-guidelines
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
Put it in a code block
Please put it in a code block. Also, tell us what you are trying to do. If you put it in a code block we can explain it better.
I've "decoded" his message below. How'd I do?