[DiscordArchive] What event do you want to use? First login of a player?
[DiscordArchive] What event do you want to use? First login of a player?
Archived author: Honey • Posted: 2024-02-08T18:21:26.884000+00:00
Original source
Write `local function`
Otherwise one will just do nothing.
Archived author: Honey • Posted: 2024-02-08T18:21:40.004000+00:00
Original source
In all scripts that is.
![[Image: image.png?ex=690c3eb2&is=690aed32&hm=4ce...f4e1804da&]](https://cdn.discordapp.com/attachments/448835144564867094/1205217158230048778/image.png?ex=690c3eb2&is=690aed32&hm=4ce8de8c23b0cea97bf6b821efbc791ace2299c1a6aa10a0ce6cfbbf4e1804da&)
Archived author: ᴋɪʟʟꜱᴇᴛ • Posted: 2024-02-08T18:22:42.418000+00:00
Original source
![[Image: image.png?ex=690c3eb2&is=690aed32&hm=4ce...f4e1804da&]](https://cdn.discordapp.com/attachments/448835144564867094/1205217158230048778/image.png?ex=690c3eb2&is=690aed32&hm=4ce8de8c23b0cea97bf6b821efbc791ace2299c1a6aa10a0ce6cfbbf4e1804da&)
![[Image: image.png?ex=690c3ec3&is=690aed43&hm=ff2...8f0283b12&]](https://cdn.discordapp.com/attachments/448835144564867094/1205217230292258862/image.png?ex=690c3ec3&is=690aed43&hm=ff2d3bd0f932d5a44eb9e0725ad4ae5da07cc7f1480ff00249140448f0283b12&)
Archived author: ᴋɪʟʟꜱᴇᴛ • Posted: 2024-02-08T18:22:59.638000+00:00
Original source
no idea how to edit this one tho
![[Image: image.png?ex=690c3ec3&is=690aed43&hm=ff2...8f0283b12&]](https://cdn.discordapp.com/attachments/448835144564867094/1205217230292258862/image.png?ex=690c3ec3&is=690aed43&hm=ff2d3bd0f932d5a44eb9e0725ad4ae5da07cc7f1480ff00249140448f0283b12&)
Archived author: ᴋɪʟʟꜱᴇᴛ • Posted: 2024-02-08T18:23:25.016000+00:00
Original source
or i shout not need the for part
Archived author: ᴋɪʟʟꜱᴇᴛ • Posted: 2024-02-08T18:23:42.995000+00:00
Original source
since i got
if (player:GetPlayerClass() == "Druid") then
Archived author: Honey • Posted: 2024-02-08T18:27:57.246000+00:00
Original source
you just add the word `local` and a space before the word `function` at the very top of your script.
![[Image: image.png?ex=690c40bd&is=690aef3d&hm=a5b...587ba6e05&]](https://cdn.discordapp.com/attachments/448835144564867094/1205219353683820544/image.png?ex=690c40bd&is=690aef3d&hm=a5be240fbb96c84bb52f599380e9fd5f3ad35d3f976ce88b08d1dff587ba6e05&)
Archived author: ᴋɪʟʟꜱᴇᴛ • Posted: 2024-02-08T18:31:25.868000+00:00
Original source
just a question how does it get the playerClass value
![[Image: image.png?ex=690c40bd&is=690aef3d&hm=a5b...587ba6e05&]](https://cdn.discordapp.com/attachments/448835144564867094/1205219353683820544/image.png?ex=690c40bd&is=690aef3d&hm=a5be240fbb96c84bb52f599380e9fd5f3ad35d3f976ce88b08d1dff587ba6e05&)
Archived author: ᴋɪʟʟꜱᴇᴛ • Posted: 2024-02-08T18:31:40.622000+00:00
Original source
its not specified anywhere its just commented
Archived author: ᴋɪʟʟꜱᴇᴛ • Posted: 2024-02-08T18:31:46.369000+00:00
Original source
shout i input the value somewhere