Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Adding fire to character HEAD?

Okay I am making a game that includes this feature that you can select a gui onClick and you would recieve a fire on your head so like

local fire = instance.new("Fire")
game.Workspace.findFirstChild:connect
localplayer.head.fire

I have 0 clue..?

1 answer

local Button = script.Parent
local player = game.Players.LocalPlayer
local character = player.Character

function onClick() 
		Instance.new("Fire",character.Head)
		character.Head.Fire.Size = 5
		character.Head.Fire.Heat = 5

end 

Button.MouseButton1Click:connect(onClick)

Size and Heat is optional, you can delete it if you want, its just if you want to modify size and heat ;)

7 comments

0

Thank you person :)

0

You're welcome :)

0

The thing is I need a onClick script so once you click it adds fire to the players head

0

Sure, let me just edit my script.

0

Thank you again person :)

0

There, it should work :)

0

cool

This discussion is preserved as it was. New answers, comments, and votes are closed.