Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

I can't seem to find the error here. How do I fix it..?

Asked by 10 years ago

--Made by smashfighter2

sp=script.Parent

local head=sp:WaitForChild("Head")

function breathefire() local fireball=Instance.new("Part") fireball.Name="Effect" fireball.BrickColor=BrickColor("Bright orange") fireball.Size=Vector3.new(3,4,5) fireball.CanCollide=false fireball.CFrame=head.CFrame fireball.Velocity=head.CFrame.lookVector*137 fireball.TopSurface="Smooth" fireball.BottomSurface="Smooth" fireball.Parent=game.Workspace end

while true do wait(.7) end

0
Please edit your post and use the Lua formatting feature. Also explain why you believe there is an error. Just a snippet shows you have done NOTHING to figure it out yourself, which makes it harder on us and shows you aren't trying very hard, which doesn't look good. BlueTaslem 18071 — 10y
0
Sorry. smashfighter2 0 — 10y

2 answers

Log in to vote
0
Answered by 10 years ago

Maybe where it says BrickColor it maybe needs to be called fireball.BrickColor = BrickColor.new("Bright Orange") if this does not work i does not work know :P

Ad
Log in to vote
0
Answered by
IcyEvil 260 Moderation Voter
10 years ago
sp=script.Parent
local head=sp:WaitForChild("Head")
function breathefire() local fireball=Instance.new("Part")
fireball.Name="Effect" fireball.BrickColor=BrickColor.new("Bright Orange") -- When saying a Brick Colors full name use BrickColor.new("Bright Orange")
fireball.Size=Vector3.new(3,4,5) 
fireball.CanCollide=false 
fireball.CFrame=head.CFrame 
fireball.Velocity=head.CFrame.lookVector*137 
fireball.TopSurface="Smooth" 
fireball.BottomSurface="Smooth" 
fireball.Parent=game.Workspace end
while true do 
wait(.7) 
end

Answer this question