ignore...............................................................
First: write your code with reasonable whitespace.
Lol = Workspace.BrickBuilding script.Parent = game.Workspace == false if true then do Lol = disabled else F = Instance.new("Fire", Workspace.Player.Torso) end
Now realize that there's no reason for that do
. As Lua is saying, it doesn't expect a "do
" right there.
The remainder of the script makes little second.
If you're script.Parent
, you have to give it either nil
or an object. You're giving it false
(since workspace
clearly isn't false
, it's a thing, it isn't even a boolean).
You never defined disabled
so setting Lol
to that wouldn't make sense. Neither would simply setting Lol
to anything; that doesn't change anything about what Lol
use to be, so it just makes it pointless to have define Lol
in the first place.
The above code, at any rate, is equivalent to this:
-- It doesn't do anything (except error)
Closed as Not Constructive by Tkdriverx, Devotional, Thewsomeguy, and adark
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?