So i’m not sure what’s wrong here this same script worked fine before?!??!
the print() and the wait() aren’t blue like they usually are not sure if I’ve missed something obvious?
wait(5)
print("loaded")
local Players = game:GetService("Players")
local RepStorage = game:GetService("ReplicatedStorage")
local RepFirst = game:GetService("ReplicatedFirst")
local SoundService = game:GetService("SoundService")
local Lighting = game:GetService("Lighting")
local TweenService = game:GetService("TweenService")
RepStorage:FindFirstChild("Punch").OnServerEvent:Connect(function(Player)
print("nice")
end)
This may be caused by one of your plugins if you have one. Make sure to disable all of them, and try to restart Studio and try again. If it doesn’t help, just enable them back.