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

Player pushed back because of unanchored parts?

Asked by 4 years ago
Edited 4 years ago

Im making a script that spawns balls that will just roll around and only when they are unanchored will the player just be pushed back a ton when they jump.

Here is the function the spawns the part

local function SpawnPart()
            NewPart = hibro:Clone(NewPart)
            NewPart.Parent = script.Parent.SpawnedParts
            NewPart.Anchored = false
            NewPart.Shape = "Ball"
            NewPart.Name = "NewPart"

            hibroCount = hibroCount + 1
            script.Parent.SpawnedParts.NewPart.CFrame = CFrame.new(game.Players.LocalPlayer:GetMouse().Hit.p)
            NewPart.Name = hibroCount

            print (PlayersService.LocalPlayer:GetMouse().Hit.p)
            print (game.Players.LocalPlayer:GetMouse().Hit.p)


            hibroVAR.Name = hibroCount
end
0
Whats the problem with it? Uzixt 19 — 4y
0
are the objects being parented to the player by any chance? iOriena3 67 — 4y
0
The problem is the player will be pushed back far whenever they jump no matter how many are spawn as long as one is spawned it will happen. The objects are in a folder inside the character zappierline06 7 — 4y
0
well thats the issue then. iOriena3 67 — 4y

1 answer

Log in to vote
0
Answered by 4 years ago
Edited 3 years ago

This can happen when unanchored objects are parented to the player, this is mostly notable in cars. On the ROBLOX studio website, it is considered to be a bug, and sadly the only real way to fix it is to parent the objects to something other than the player.

Hope this helped. ^w^

0
Thanks! zappierline06 7 — 4y
0
make sure to accept my answer >:3 iOriena3 67 — 4y
0
i dont know how to zappierline06 7 — 4y
0
How do you accept an answer i am new to this site sorry zappierline06 7 — 4y
View all comments (7 more)
0
oh thats fine ;P iOriena3 67 — 4y
0
under my post there should be two buttons, "Accept Answer" and "Report". Click Accept Answer. (: iOriena3 67 — 4y
0
Oh the only thing there is report zappierline06 7 — 4y
0
Well thats odd... Maybe it's a anti-spam thing, idk. As long as I helped you it's fine I guess. iOriena3 67 — 4y
0
Try going into incognito mode. For some reason it's a weird bug that is happening right now. youtubemasterWOW 2741 — 4y
0
thanks the incognito worked zappierline06 7 — 4y
0
^w^ iOriena3 67 — 4y
Ad

Answer this question