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

What would cause this to make your player float?

Asked by 8 years ago
local Tool = script.Parent
local enabled = true
local Bites = 0

function onActivated()
    Bites = Bites + 1
    if Bites >= 20 then
        script.Parent:Destroy()
    end
    if not enabled  then
        return
    end
    enabled = false
    Tool.GripForward = Vector3.new(0.439, 0.878, 0.189)
    Tool.GripPos = Vector3.new(-0.3, 1.2, -1.3)
    Tool.GripRight = Vector3.new(0.0844, 0.169, -0.982)
    Tool.GripUp = Vector3.new(0.894, -0.347, 0)
    Tool.Handle.EatSound:Play()
    wait(.8)
    Tool.GripForward = Vector3.new(-1, 1, -0)
    Tool.GripPos = Vector3.new(0.1, -0.3, 0)
    Tool.GripRight = Vector3.new(0,0, -1)
    Tool.GripUp = Vector3.new(1,0,0)
    enabled = true
end

script.Parent.Activated:connect(onActivated)

That is the script I made for it, and this is what happens when I try to equip the tool. http://prntscr.com/9kqw01 Any help or suggestions would be greatly appreciated. :)

1 answer

Log in to vote
2
Answered by
Necrorave 560 Moderation Voter
8 years ago

Seems like the parts in the tool need to be unanchored.

From what I can tell from the screen-shot, the tool has parts that are still anchored.

I also do not see changes being made in your script.

Let me know if you need anymore help!

Ad

Answer this question