Local addedConnection = backpack.ChildAdded:Connect(function(tool) Local humanoid = character:WaitForChild("Humanoid", 5) Local character = Player.Character or Player.CharacterAdded:Wait() Player.ChildAdded:Connect(function(backpack) Local toolIndex = table.find(Tools, tool) If tool.Parent ~= Player.Character then - Check if tool has been forcefully removed Local toolSlot = table.find(Tools, existingTool) UserInputService.InputChanged:Connect(function(input, gameProcessedEvent) Local existingTool = Player.Character:FindFirstChildOfClass("Tool") Local humanoid = Player.Character:FindFirstChild("Humanoid") UserInputService.InputBegan:Connect(function(input, gameProcessedEvent) Local UserInputService = game:GetService("UserInputService") Local StarterGui = game:GetService("StarterGui") Local Players = game:GetService("Players") / Custom system INTEGRATED with default Roblox Tools //. KillFeed.ChildRemoved:Connect(RefreshFeed)Īnd by the way, Any of you mind helping me with this?Īutomatically Equips a Pistol when joined! - Place inside StarterPlayerScripts LocalScript: ScreenGui local KillFeed = workspace.KillFeedįor i, OldFeed in pairs(Feeds:GetChildren()) doįor i, Feed in pairs(KillFeed:GetChildren()) do Local Killed = Instance.new("StringValue") Local Killer = Instance.new("StringValue") Local Humanoid = Target:FindFirstChildOfClass("Humanoid") RemoteEvent.OnServerEvent:Connect(function(Player, Target, Damage) Script: ServerScriptService local RemoteEvent = game:GetService("ReplicatedStorage"):WaitForChild("Events", math.huge).Damage Workspace: insert a folder on workspace named “KillFeed”
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |