You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
I want to make a fling command that will fling the character, and also make them spin like crazy. -
What is the issue? Include screenshots / videos if possible!
The character moves in the right direction, but does not spin crazy/out of control as I hoped. Here’s a video
-
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I’ve looked at every devforum I can find, as well as reaching out on RSC on Discord
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
local function fling(flingChar)
local bodyV = Instance.new("BodyVelocity")
local randNum = math.random(-10000,10000)
flingChar:FindFirstChild("Humanoid").Sit = true
bodyV.Velocity = Vector3.new(randNum,100,randNum)
bodyV.Parent = flingChar:FindFirstChild("HumanoidRootPart")
end
if sep1[2] == "me" or sep1[2] == nil then
fling(character)
task.wait(1)
character:FindFirstChild("HumanoidRootPart"):FindFirstChild("BodyVelocity"):Destroy()
else
for i, v in ipairs(game:GetService("Players"):GetChildren()) do
local name = string.lower(string.sub(tostring(v), 1,#sep1[2]))
if name == sep1[2] then
for a, person in ipairs(game:GetService("Players"):GetChildren()) do
local targetPlayer = v
local targetCharacter = targetPlayer.Character or targetPlayer.CharacterAdded:Wait()
fling(targetCharacter)
task.wait(1)
targetCharacter:FindFirstChild("HumanoidRootPart"):FindFirstChild("BodyVelocity"):Destroy()
end
return
end
end
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.