#Attempt to call a nil value error

1 messages · Page 1 of 1 (latest)

night kayak
#

When I playtest and do button.MouseButtonClick:Connect(Function().
Output says ServerScriptService.Main:11: attempt to call a nil value - Client - LocalScript:12
What do i do?

half flicker
#

I'm relatively new to scripting but I think it should be local rolledNumber = game.ReplicatedStorage.Remotes.RollFunction:InvokeServer()

night kayak
vague wagonBOT
#

studio** You are now Level 1! **studio

night kayak
#

still doesnt work

#

Main and LocalScript attempt to call a nil value error