local function sitOnShoulder(player: Player, player2: Player, onoff: boolean)
local char1 = player.Character or player.CharacterAdded:Wait()
local char2 = player2.Character or player2.CharacterAdded:Wait()
local head = char2:WaitForChild("Head")
local hrp = char1:WaitForChild("HumanoidRootPart")
local hum = char1:WaitForChild("Humanoid")
if onoff then
local headAttachment = Instance.new("Attachment")
headAttachment.Position = Vector3.new(0, 0, head.Position.Z / 2)
headAttachment.Parent = head
local hrpAttachment = Instance.new("Attachment")
hrpAttachment.Parent = hrp
--stop the player
hrp.CFrame = CFrame.new(Vector3.new(1, 1, 1/ 2) * head.Position)
hum:SetStateEnabled(Enum.HumanoidStateType.Jumping, false)
hum.PlatformStand = true
hum.Sit = true
local rigid = Instance.new("RigidConstraint")
rigid.Attachment0 = headAttachment
rigid.Attachment1 = hrpAttachment
rigid.Parent = headAttachment
else
head.RigidConstrait:Destroy()
hrp.Attachment:Destroy()
head.Attachment:Destroy()
hum:SetStateEnabled(Enum.HumanoidStateType.Jumping, true)
hum.PlatformStand = false
hum.Sit = false
end
end```
#sit on shoulders system
1 messages · Page 1 of 1 (latest)
please help
i just got back
wdym network ownership?
that's for moving parts..?
kinda gay..
what?
What im guessing is that both players are trying to calculate physics, have you tried anchoring everything?
Could you explain that?
it's a sit on shoulders
Ooh wait ive seen a tutorial do this once i never got why
True wait anchoring won't work
did you read my code?
Cuz it will freeze the carrying player too
did you read the literal NAME of the function?
did you even read the name of this post
ur the one not even helping
ur saying random stuff
did you read my code?
that's your answer
Dawg if youre gonna be like that i aint helping too
** You are now Level 1! **
thanks for the help saying my code is shit
Were all trying that help you if you dont want it then alright
if you would've read the code you'd understood what it does
.
the name of this post is https://discord.com/channels/448986884497211392/1397576561640738877 and you're saying something about a player moving the other player's character
** You are now Level 10! **
We dont need to read the code to know that its broken
you said i;m rude
Its a physic problem not a code one
Anyone can position a model or part and make it follow another person
But for 2 players local physics start breaking it
i'm not ragebaiting
i'm using rigid constraits
read my code
you'll know
Why not welds?
why welds? rigidconstraits are welds but better for my case
I mean he is right ngl
yeah i'm right
Talkinn about @azure goblet
did you see any hrp.Anchored = true code
it's not a carry system.
it is a SIT ON SHOULDERS system
yes??
Anchored wont work
ur ragebaiting urself
Because it will freeze rhe carrier too
that will fucking lag the entire game
ur saying i have to do this
hrp.pos = head.pos
end ```
Bro forgot a wait
** You are now Level 13! **
runservice
can you just leave? ur as helpful as you're in the house for your parents
quit ragebaiting me
and just leave
i came here for help, not you
what in the world is "10 x"
mabey?
mabey? really?
Well idk if you can
learn proper english and go to school
you don't get jobs in 4th grade
talk about them when you finish high school
all you did was talk about a player moving another player's character using some network thing, ragebait and ask for the same answer over and over, not even reading my code.
all roamer did was hop in because why not
this is a helping channel
please leave
I was helping yeah
did you read my script and find a hrp.Anchored = true
** You are now Level 2! **
reply to any message with you helping
Fo sure
reply to any messag he helped with
1
that does not help
that is you arguing with yourself
did you read my code
he already said something about that, i said no, and you kept on going
so far 2/2 are wrong
That's not an argument that's u freezing the player
okay dude, you said "you could anchor the players" and then replied "nvm you'll freeze them"
can you just leave
this is the third time saying this, my code does not contain any hrp.Anchored = true
can you leave?
Im just trying to help you
this is my fourth time saying this, my code does not contain (or need to) any hrp.Anchored = true
by ragebaiting..?
learn to read by yourself
if you'd read my code that would've fixed mostly everything
this is the fifth time saying
it's still in build
i just made it
everything is empty
and i don't work for others
Head.Position / 2, that might be a world position not a object position
ab cde?
that's because when experiencing i thought to get the attachment at the back of his head, that was most fitting
i mean
i inserted an attachment in my head
and moved it around, figuring out that the z axis /2 was the best position offset
Send a ss of the attchment position (with the studio move arrows) in world space
did you come here to ragebait?
** You are now Level 3! **
(0, 0) -------- (pos1 / 2) -------(pos1)
That's youre issue
Its actually a pretty easy fix
messages:
i ask for help
you say something about network ownership
myth says gay
roamer says something about anchoring everything (wrong) and physics calculating
you both go on with networkownership
i try to tell you that it's a sit on shoulders system
roamer says True wait anchoring won't work then says Cuz it will freeze the carrying player too
yvonne thinks a sit over shoulders system makes the players frozen (think logically)
he proceeds to ragebait (along roamer) for 16 or 15 minutes (could've avoided by reading my code and trying to understand it, you said it's shit and moved onto ragebaiting again)
Ah nvm i dont think im welcome anymore
u improved
yvonne's stuck in the glacier era
okay if he did why did you not focus on the answer and moved onto networkownerships and anchoring the player
why did you go back to it then
and not focus on runservice
oh my days
another right answer?
ragebait
wow
i think its my 7th time saying that you had to read my code to answer yourself
you're the one trying to ragebait again
yeah?
what's wrong?
--services
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local PhysicsService = game:GetService("PhysicsService")
local ServerStorage = game:GetService("ServerStorage")
local TweenService = game:GetService("TweenService")
local Players = game:GetService("Players")
--folders
local pairingRemotes = ReplicatedStorage:WaitForChild("Pairing")
--objects
local timeRemote = pairingRemotes:WaitForChild("Pair")
local leave = pairingRemotes:WaitForChild("Leave")
local sets = script.Parent
local characters = ServerStorage.Characters
local horse = characters.Horse
local cowboy = characters.Cowboy
```this is written by me
--services
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local TweenService = game:GetService("TweenService")
local Players = game:GetService("Players")
--folders
local upRemotes = ReplicatedStorage:WaitForChild("UpNotification")
local pairingRemotes = ReplicatedStorage:WaitForChild("Pairing")
--remotes
local timeRemote = pairingRemotes:WaitForChild("Pair")
local up = upRemotes:WaitForChild("Bindable")
local leave = pairingRemotes:WaitForChild("Leave")
local piggyback = pairingRemotes:WaitForChild("Piggyback")
local player = Players.LocalPlayer
--gui
local main = script.Parent
local timer = main:WaitForChild("Timer")
local btn = main:WaitForChild("LeaveQueue")
local shouldStop = false
local timerCo``` again me
and i did not capitalize the s btw
what does that mean
what's chatgp
you gave me like 3 right answers
which one is it
runservice, calculating physics and anchoring players or just freezing the players?
why use networkownership?
networkownership, as you said, lets the players move eachother
sixth time saying
if i'd wanted to freeze them i would've put a .anchored = true
was that so hard?
my common sense is your "i need an answer"
why are you deleting all your messages
damn
@azure goblet
r u gonna delete it
@azure goblet
?
u dont need my help
so I deleted all my messages
ive already asked u to stop pinging me cuz I left this post 2x now
yeah sure
that's the reasoning
all you did was ^ react the apparently good answers and ragebait
i dont know either
stop yappin
you're kinda 6 hours late
set the player who sat on the shoulder's network ownership to the client who's carrying
SHUT THE FUCK UP
use server to set the client who's sitting
networkownership to the client whos carrying
then the client whos carrying will do the constraint
okay so i have only understood the first part of those messages
the rest is new stuff for me
-- server
local function onSit(clientWhoSit,clientWhoCarry)
local c1 = clientWhoSit.Character
assert(c1,"")
local c2 = clientWhoCarry.Character
assert(c2,"")
c1:SetNetworkOwnership(clientWhoCarry)
RemoteEvent:FireClient(clientWhoCarry,c1)
end
--Client
RemoteEvent.OnClientEvent:Connect(function(Char)
-- do physics constraint stuff ( Use motor6ds please )
end)
I don't know anything about networkownerships
ok go learn
only thing i would recall is that one exploit video with them
🥀
network ownership is what it is
what client controls physics on a object
and its descendants
i thought they removed it so i quit on it
nil = server processes physics
client = client processes physics
sorry to reveal it to you but my stupidness is so deep that no tutorial or forum will ever fix it
and what do you mean by nil = server processes physics?
Part:SetNetworkOwnership(nil)