There are two referencing of character that i wrote. One is having the error "attempt to index nil with 'Humanoid'"
local player = game:GetService("Players")
local localplayer = player.LocalPlayer
local character = localplayer.Character
and another one is having this error: Infinite yield possible on 'Players.AriyanHacker29:WaitForChild("Character")
local player = game:GetService("Players")
local localp = player.LocalPlayer
local character = localp:WaitForChild("Character")
any sort of help will be appreciated!!

1 comment
Nevermind i misread that, But you cant get localplayer from a serverscript if your trying.