Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to position items using scripts using specific player body parts?

So position items through scripts has been a problem ever since I started coding. I don't know how to position something so a bit of context into my problem, I recently had an idea of trying to make the iconic EXPLOSION! from konosuba (because I find it to be funny and the graphics are just a chef's kiss my opinion) but I'm having troblue position the second circle because in the original version (I do reliaze that there a many versions of this move) there a magic circle underneath Megumin's feet and one just above her head and that's the one I'm having trouble with the head one position.

Here is the reference link : https://www.youtube.com/watch?v=jar1LTxxAeM

4 comments

0

I don't understand, can you explain more?

0

@ryanzhzh I can post a video of what I mean. Sorry about that.

0

you can position sometihng above the head by using Part.CFrame = character.Head.CFrame + Vector3.new(0,5,0). If you anchor it, it won't fall or move.

0

Ohhh, I was using position lol. Thanks I will try it.

1 answer

Hello,

What you can do is design the circles in Blender or In Studio and connect it to an Event (can be a touched Event, tool clicked Event etc) then when done building u can attach the Models by Welds. The script will be similar to the one below

local Weld = Instance.new("Weld")
Weld.Part1 = -- Put the Circle reference here
Weld.Part2 = -- Put the character reference here
Weld.Parent = Part1

if you want the Circle to spin what you can do is

local Circle = -- Circle Reference

while wait(0.05) do
Circle.CFrame = Circle.CFrame*CFrame.Angles(0,0.1,0)
end

I hope this helps BUT this scripts above will not work its just to give an Idea what you are doing!

This discussion is preserved as it was. New answers, comments, and votes are closed.