Babe, wake up, 26AnderDeveloping uploaded a video! I can't believe this! Goated video, 26AnderDeveloping! Let's just say I am currently typing this comment out in the ER, for I have been rushed to the hospital after painting my room white multiple times. This video is amazing... However, I was disappointed to hear there wasn't a "Let's get to scriptings"... STILL, a glorious video.
@undertheground38622 ай бұрын
next u should do a tutorial sorta like gpo and blox fruits gui for fruits, with like the ability keys in the tools
@SoraOT2 ай бұрын
just run it through the Tool.Equipped event. Something like -- Script is in StarterCharacterScripts in this instance. local UIS = game:GetService("UserInputService") local plr = game.Players.LocalPlayer local char = plr.Character or plr.CharacterAdded:Wait() local hum = char:WaitForChild("Humanoid") local tool = plr.Backpack.Test -- wherever your tool is located local connection tool.Equipped:Connect(function() connection = UIS.InputBegan:Connect(function(input, processed) -- input is the key the player presses and processed basically checks if they are typing. if input.UserInputType == Enum.UserInputType.Keyboard then if input.KeyCode == Enum.KeyCode.E and not processed then -- Enum.KeyCode.E defines the key you want things to happen on. print("Skill Used") end end end) end) tool.Unequipped:Connect(function() if connection.Connected then connection:Disconnect() end -- basically just checks if the connection is still running when its unequipped and if it is then it ends/disconnects it. end)