Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plr = game.Workspace:WaitForChild(owner.Name)
- plrH = plr:WaitForChild('HumanoidRootPart')
- local Part = Instance.new("Part",plr)
- Part.Name = "FF"
- Part.Position = plrH.Position
- Part.Size = Vector3.new(10,10,10)
- Part.Material = "ForceField"
- Part.Anchored = false
- Part.CanCollide = false
- Part.BrickColor = BrickColor.new("Bright red")
- local Body = Instance.new("BodyPosition")
- Body.Parent = Part
- Body.Position = plrH.Position
- Body.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- Body.P = Body.P * 5
- local Body2 = Instance.new("BodyAngularVelocity")
- Body2.Parent = Part
- Body2.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
- Body2.AngularVelocity = Vector3.new(1, 1, 1)
- Part.Touched:Connect(function(TPart)
- if TPart.Name == "Handle" then
- if TPart.Parent.Parent == plr then
- local a = 1
- else
- TPart:Remove()
- Body2.AngularVelocity = Vector3.new(3, 3, 3)
- wait(0.5)
- Body2.AngularVelocity = Vector3.new(2, 2, 2)
- wait(0.5)
- Body2.AngularVelocity = Vector3.new(1, 1, 1)
- end
- else
- if TPart.Parent == plr then
- local a = 1
- else
- if TPart.Name == "Base" then
- local a = 1
- else
- TPart:Remove()
- Body2.AngularVelocity = Vector3.new(3, 3, 3)
- wait(1)
- Body2.AngularVelocity = Vector3.new(1, 1, 1)
- end
- end
- end
- end)
- while true do
- Body.Position = plrH.Position
- wait(0.1)
- end
Add Comment
Please, Sign In to add comment