"Argument 1 missing or nil" for the server(?)

I’m completely unable to fire my event.
I wan’t to fire the event & it’s refusing to.

I have searched for a little while & nothing works.


ServerScript:

game:GetService("Players").PlayerAdded:Connect(function(plr)
	
local Chara = plr.Character or plr.CharacterAdded:Wait()
	
	
for index, value in pairs( script.Parent:GetChildren() ) do
	

 if value:IsA("Part") then
	
	value.Prox.ProximityPrompt.Triggered:Connect(function()
	value.Prox.ProximityPrompt.Enabled = false
	Chara.HumanoidRootPart.CFrame = value.Hide.WorldCFrame
	
	Chara.Humanoid.WalkSpeed = 0
	task.wait(0.75)
	Chara.Humanoid.WalkSpeed = 13.5
	
game:GetService("ReplicatedStorage").Ending.DOWN.EndingStayStill_MinigameSTART:FireClient()

while plr:GetAttribute("IsMoving") == false do
task.wait()
end


Chara.HumanoidRootPart.CFrame = value.Out.WorldCFrame
task.wait(0.25)
value.Prox.ProximityPrompt.Enabled = true
	end)	
		
 end




end	
	
	
	
	
	
	
	
end)

FireClient() takes at least 1 parameter, namely the player who the server is trying to interact with.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.