Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

how to do Filtring Enabled Damage?

--Script
script.Damage:OnServerEvent(function(Player)
Humanoid:TakeDamage(8)
end)

So Basically Im making a game but I don't know how to do FE Damage I'm experienced with Filtring enabled but I stuck on this point,does any of you know how to do it?I need help so please respond.

--LocalScript
ReplicatedStorage.Weapons.Gun.Damage:FireServer()

1 comment

0

clc is right, the interpreter is not a human, it only does what you tell it to do.

1 answer

You need to get a basic grasp on the language first, I recommend trying something simpler, single script, don't worry about local scripts, and just get a hang of things. In the about at the top of website there's link to the 5.1 manual, have a read through.

It's not working because Humanoid on line 3 is undefined. You can't write vaguely and expect a computer to interpret it. You also probably have your hierarchy messed up unless ReplicatedStorage.Weapons.Gun is the script in the first part of your post.

This discussion is preserved as it was. New answers, comments, and votes are closed.