local ignore = game.Players.LocalPlayer.Character
mouse = game.Players.LocalPlayer:GetMouse()
char = game.Players.LocalPlayer.Character
--beam = Ray.new(char.Torso.Position,(mouse.Hit.p*30))
hold = false -- we want to make sure we can ungrapple
body = game.Workspace.Forces.BodyPosition -- we need a force
function onKeyPress(inputObject, gameProcessedEvent)
if inputObject.KeyCode == Enum.KeyCode.Q then
hold = true
while hold do
local beam = Ray.new(char.Torso.Position,(mouse.Hit.p*5))
body:Clone()
body.Parent = char.Torso
wait()
end
end
end
function onKeyRelease(inputObject,gameProcessed)
if inputObject.KeyCode == Enum.KeyCode.Q then
hold = false
body:Destroy()
end
end
game:GetService("UserInputService").InputBegan:connect(onKeyPress)
game:GetService("UserInputService").InputEnded:connect(onKeyRelease)
why wont it boost me when i press Q again... i made sure its cloning..

2 comments
To answer your title, this error usually occurs when you try finding the Parent Property of an object which has been destroyed using the method :Destroy()
@randomsmileyface: "when you try finding the Parent Property" should say "when you try setting the Parent Property"