Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Разместить в ServerScriptService
- --Настройка событий для WeaponHandler (client) и WeaponLauncher(server)
- local ReplicatedStorage = game:GetService("ReplicatedStorage")
- local launchProjectile = Instance.new("RemoteFunction")
- launchProjectile.Name = "LaunchProjectile"
- launchProjectile.Parent = ReplicatedStorage
- local pingChecker = Instance.new("RemoteFunction")
- pingChecker.Name = "Ping"
- pingChecker.Parent = ReplicatedStorage
- local destroyEnemy = Instance.new("RemoteEvent")
- destroyEnemy.Name = "DestroyEnemy"
- destroyEnemy.Parent = ReplicatedStorage
- local destroyProjectile = Instance.new("RemoteEvent")
- destroyProjectile.Name = "DestroyProjectile"
- destroyProjectile.Parent = ReplicatedStorage
Add Comment
Please, Sign In to add comment