Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do you make this car despawn FE enabled?

Asked by 5 years ago

local P = script.Parent local player = P.Parent.Parent local B = P.B B.MouseButton1Click:connect(function() if game.Workspace:FindFirstChild(player.Name.."Car") then game.Workspace[player.Name.."Car"]:Destroy() B.Text = "Car Deleted" wait(2) B.Text = "Delete Car" else B.Text = "No car found!" wait(2) B.Text = "Delete Car" end end)

0
Button1Click should FireServer , and Server-Script must have those finding 'Car' stuffs, and delete stuff, B.Text would be different thing but the important is deleting User#17685 0 — 5y

Answer this question