✓ Accepted answer
Alright so you have a problem with the script you provided and I will go over it with you so heres your script
script.Parent.MouseButton1Click:Connect(function()
local player = game.Players.LocalPlayer
local human = player:FindFirstChild("Humanoid")
if (human ~= nil) then
human.Health = 0
end
Blur.Size = 3
end)
alright so first off Humanoid is located inside of Character so that would mean if you wanted to get Humanoid you would need to define Character so look
local player = game.Players.LocalPlayer
local char = player.Character
local humanoid = char:WaitForChild("Humanoid")
script.Parent.MouseButton1Click:Connect(function()
if (humanoid~=nil)then
humanoid.Health = 0
end
Blur.Size = 3
end)
so now we have finished the new script I hope you learned something new and if this helped then accept if you want
2 comments
you also missed the part where the dude wanted to blur his screen
thats what that was thanks for telling me im new i didnt think of that