RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"proximity prompt only enabled when Dynamite is equipped."
local ReplicatedStorage = game:GetService("ReplicatedStorage") local Players = game:GetService("Players") local DynamiteEquipped = ReplicatedStorage.DynamiteEquipped local function onDynamiteEquipped(player) local character = player.Character if character then local humanoid = character:WaitForChild("Humanoid") if humanoid then local proximityPrompt = humanoid:WaitForChild("ProximityPrompt") if proximityPrompt then proximityPrompt.Enabled = true end end end end DynamiteEquipped.OnClientEvent:Connect(onDynamiteEquipped)