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

how can i create a part from a tool but global?

Asked by
comwar 0
5 years ago

so umm i did this so far it only shows up on one side so that's pretty trash~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~local Tool = script.Parent

Tool.Equipped:connect(function(Mouse) Mouse.Button1Down:connect(function() local Tool = script.Parent; local Plr = game.Players.LocalPlayer
local Used = false

Tool.Activated:connect(function() if not Used then Used = true local wood = Tool.Handle:Clone() wood.Parent = game.Workspace wood.Position = Plr.Character.LeftLowerLeg.Position wood.Anchored = true end Tool:Destroy() end) end) end)


ok umm idont know what im doing so please can somebody tell me or i will surely perish

0
Not sure what you meant but I think what you're trying to do requires a remote event. titaneagle 0 — 5y
0
ok thank comwar 0 — 5y
0
can i still use the thing "game.Players.localplayer" comwar 0 — 5y
0
r u using a server script User#23365 30 — 5y
View all comments (2 more)
0
Please use a code block. User#19524 175 — 5y
0
its in a tool comwar 0 — 5y

Answer this question