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..?
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..?
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 ;)
This discussion is preserved as it was. New answers, comments, and votes are closed.
7 comments
Thank you person :)
You're welcome :)
The thing is I need a onClick script so once you click it adds fire to the players head
Sure, let me just edit my script.
Thank you again person :)
There, it should work :)
cool