that does not fix the issue with the event not bring recived
For this function, you arenât parenting the âNewQueValsâ to anywhere.
that does not fix the issue with the event not being recived
Try replacing the local Event
with local Event = game:GetService("ReplicatedStorage"):WaitForChild("NotifFolder"):WaitForChild("Server-Local Notifs")
to esnsure that the Variable isnât NIL
this isint any diffrent than what i already have
Trying replacing the code with this:
local Event = game:GetService("ReplicatedStorage"):WaitForChild("NotifFolder")["Server-Local Notifs"]
game.Players.PlayerAdded:Connect(function(player)
player.Chatted:Connect(function(message)
if string.lower(message) == "fart" then
print(player.Name .. " has sent the message, fart")
Event:FireClient(player, "Head", "Body", "no")
end
end)
end)
Question, is this script inside ServerScriptService?
yes ok, that worked thanks!
ill fix the other bugs now, its printing the other stuff
Wouldnât the event treat the âHeadTextâ as the player firing the event? You need to add a Player parameter.
Edit: Nevermind, I guess it worked for him
Happy to help, next time, if you need help, please be a bit more clear on what you need. I had a hard time trying to figure out what was happening.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.