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
1 | local fire = instance.new( "Fire" ) |
2 | game.Workspace.findFirstChild:connect |
3 | localplayer.head.fire |
I have 0 clue..?
01 | local Button = script.Parent |
02 | local player = game.Players.LocalPlayer |
03 | local character = player.Character |
04 |
05 | function onClick() |
06 | Instance.new( "Fire" ,character.Head) |
07 | character.Head.Fire.Size = 5 |
08 | character.Head.Fire.Heat = 5 |
09 |
10 | end |
11 |
12 | Button.MouseButton 1 Click:connect(onClick) |
Size and Heat is optional, you can delete it if you want, its just if you want to modify size and heat ;)