#Firing an event when player joins
1 messages · Page 1 of 1 (latest)
local Players = game:GetService("Players")
local Player = game.Players.LocalPlayer
Players.PlayerAdded:Connect(function(player)
print("hi")
game.ReplicatedStorage.Anchor.FireServer(Player)
end)
this is my code rn it doesnt print anything
or anchor
You gotta use :FireServer not .FireServer
cause its a local script