I would be trying this,
This will be a server sided script.
game.Players.PlayerAdded:Connect(function(plr)
local moral = plr.Nut.Moral
local coins = plr.Nut.Coins
wait(2)
moral.Changed:Connect(function()
if plr.Nut.Moral.Value > 1000 then
plr.Nut.Moral.Value = 1000
end
end)
coins.Changed:Connect(function()
if coins.Value > 10000000 then
plr.Nut.Coins.Value = 10000000
end
end)
plr.Experience.Will.Changed:Connect(function()
if plr.Experience.Will.Value > 10000000 then
plr.Experience.Will.Value = 10000000
end
end)
plr.Experience.Skill.Changed:Connect(function()
if plr.Experience.Skill.Value > 1000000 then
plr.Experience.Skill.Value = 1000000
end
end)
plr.Experience.Strength.Changed:Connect(function()
if plr.Experience.Strength.Value > 1000000 then
plr.Experience.Strength.Value = 1000000
end
end)
function hum()
plr.Character.Humanoid.Changed:Connect(function()
if plr.Character.Humanoid.WalkSpeed>= 201 then
plr.Character.Humanoid.WalkSpeed = 16
plr:Kick("Unexpected Humanoid Change")
end
end)
plr.Character.Humanoid.Changed:Connect(function()
if plr.Character.Humanoid.JumpPower >= 51 then
plr.Character.Humanoid.JumpPower = 50
plr:Kick("Unexpected Humanoid Change")
end
if plr.Character.Humanoid.MaxHealth >= 801 then
plr.Character.Humanoid.MaxHealth = 800
plr:Kick("Unexpected Humanoid Change")
end
if plr.Character.Humanoid.HipHeight >= 1.36 then
plr.Character.Humanoid.HipHeight = 1.35
plr:Kick("Unexpected Humanoid Change")
end
if plr.Character.Humanoid.MaxSlopeAngle >= 90 then
plr.Character.Humanoid.MaxSlopeAngle = 89
plr:Kick("Unexpected Humanoid Change")
end
end)
end
hum()
plr.CharacterAdded:Connect(hum)
end)
Put a local script in the StarterGui and put this code
plr = game.Players.LocalPlayer
repeat wait() until plr.Character
local moral = plr.Nut.Moral
local coins = plr.Nut.Coins
wait(2)
moral.Changed:Connect(function()
if plr.Nut.Moral.Value > 1000 then
plr.Nut.Moral.Value = 1000
end
end)
coins.Changed:Connect(function()
if coins.Value > 10000000 then
plr.Nut.Coins.Value = 10000000
end
end)
plr.Experience.Will.Changed:Connect(function()
if plr.Experience.Will.Value > 10000000 then
plr.Experience.Will.Value = 10000000
end
end)
plr.Experience.Skill.Changed:Connect(function()
if plr.Experience.Skill.Value > 1000000 then
plr.Experience.Skill.Value = 1000000
end
end)
plr.Experience.Strength.Changed:Connect(function()
if plr.Experience.Strength.Value > 1000000 then
plr.Experience.Strength.Value = 1000000
end
end)
function hum()
plr.Character.Humanoid.Changed:Connect(function()
if plr.Character.Humanoid.WalkSpeed>= 201 then
plr.Character.Humanoid.WalkSpeed = 16
plr:Kick("Unexpected Humanoid Change")
end
end)
plr.Character.Humanoid.Changed:Connect(function()
if plr.Character.Humanoid.JumpPower >= 51 then
plr.Character.Humanoid.JumpPower = 50
plr:Kick("Unexpected Humanoid Change")
end
if plr.Character.Humanoid.MaxHealth >= 801 then
plr.Character.Humanoid.MaxHealth = 800
plr:Kick("Unexpected Humanoid Change")
end
if plr.Character.Humanoid.HipHeight >= 1.36 then
plr.Character.Humanoid.HipHeight = 1.35
plr:Kick("Unexpected Humanoid Change")
end
if plr.Character.Humanoid.MaxSlopeAngle >= 90 then
plr.Character.Humanoid.MaxSlopeAngle = 89
plr:Kick("Unexpected Humanoid Change")
end
end)
end
plr.CharacterAdded:Connect(hum)
hum()
hope this helps
1 comment
Did my answer work?