Local player = PlayersService:GetPlayerFromCharacter(character) If myPlayer and not myPlayer.Neutral then - Ignore friendlies caught in the blast Local character, humanoid = FindCharacterAncestor(hitPart.Parent) Local function OnExplosionHit(hitPart, hitDistance, blastCenter) Customized explosive effect that doesn't affect teammates and only breaks joints on dead parts Return FindCharacterAncestor(subject.Parent) Local humanoid = subject:FindFirstChildOfClass('Humanoid') Local function FindCharacterAncestor(subject) Returns the ancestor that contains a Humanoid, if it exists Local creatorTagClone = CreatorTag:Clone()ĭebrisService:AddItem(creatorTagClone, 1.5) While target:FindFirstChild('creator') do Removes any old creator tags and applies a new one to the target Local SwooshSound = Rocket:WaitForChild('Swoosh') Local CreatorTag = Rocket:WaitForChild('creator') Local PlayersService = game:GetService('Players') Local DebrisService = game:GetService('Debris') NOTE: Keys must be lowercase, values must evaluate to true Local IGNORE_LIST = - Rocket will fly through things named these Local BLAST_FORCE = 1000 - Amount of force applied to parts Local BLAST_DAMAGE = 100 - Amount of damage done to players Local BLAST_RADIUS = 8 - Blast radius of the explosion Please give me the modification and tell my why you have to do that so I learn. So in the model can someone tell me how to modify one of the scripts to make it that it gives 1 "Kill" and 25 "Coins" to the player who killed the other player. But I dont have that one) Please make sure it is made by ROBLOX. The Rocket Launcher is made by ROBLOX (Not UristMcSparks, He makes rocket launchers too. I am looking for a way to modify the ROBLOX Rocket Launcher so that if a player kills another player with it, it gives the player who killed the other player leaderstats, or in my case 1 Kill and 25 Coins.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |