How do I do this?

I’m not familiar with this so how would i fix this?

we might need to wait for the billboard like this

local billboardGui = game.Players.LocalPlayer:WaitForChild("PlayerGui"):WaitForChild("BillboardGui")
1 Like

Okay this seems to work as i can see the billboard gui and there’s no errors in output
What’s the next step?

scroll up i sent the next step above on how to make the spring localscript

after this step you should see the spring attach to the target when you click

1 Like

It doesn’t seem to work no errors in output also you had a type you typed arrachment instaed of attachment but i fixed that and still no result

if you print(targetValue.Value) inside the InputBegan event does it print anything?

and yes there might be typos i have not tested the code unfortunately Roblox does not support Linux so i cant test it

1 Like

I understand that you can’t test it but what do you mean inside the inputbegan event in what script?

so we have 3 scripts

  1. script searches for the target
  2. sets the billboard so we can see what target is selected
  3. new script with a inputbegan that positions the spring when you click

only 1 of the 3 scripts has a inputbegan event

1 Like

Yes i found it the one that uses the userinputservice? it doesn’t print

put the print inside the event so we can see what it is when the event fires

1 Like

What do you mean event? sorry if I’m making this complicated
Nevermind i got a result it does print it

image
this is what the output looks like anyways i have to go now just write the rest of the steps and when im back il follow them thank you!

next step is to fix the spring so you can see it when you click

1 Like

Okay, I’m back so how do i fix the spring?

ok when you click can you see the spingpart getting placed into workspace and can you see the spring has attachment0 and attachment1 set and is the spring visible?

also make sure the springpart is anchored

1 Like

It’s not getting parented to workspace i don’t know why i did everything you said

I’m not sure but i think this has something to do with it

u do something like press “~” this key 3 times without pressing shift and end the code block with 3 “~” without pressing shift. It will look something like

print("Hello!")

after sending

So have you found a solution?–

that warning means that your waiting for SpringPart for a long time
this most likely means that SpringPart does not exist so make sure you have created that part

in my code example i named the part SpringPart if you never named it the same then it would never find it

1 Like