#healing script
30 messages · Page 1 of 1 (latest)
Either way pointless using math.min
Something else is lowering it
Also why are you adding +100 healing 4 times when the if statement says while less than 100 health
I got rid of the whole things
I have no idea how you could've got the idea to put it there
Yeah
u should help me with something else 
ik
local announcedEvent = game.ReplicatedStorage.AnnouncedEvent
local TextService = game:GetService("TextService")
announcedEvent.OnServerEvent:Connect(function(player, inputText, enterPressed, newtext)
local s, e = pcall(function()
local newtext = TextService:FilterStringAsync(inputText, player.UserId):GetChatForUserAsync(player.UserId)
end)
if not s then warn(e) end
inputText = newtext
announcedEvent:FireAllClients(inputText, enterPressed)
end)```
any idea what i am doing wrong