Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print(script.Parent.Parent.Parent)
- print(script.Parent.Parent)
- print(script.Parent)
- torso = game.Players.ASlendersBestFrend.Character.Torso
- larm = game.Players.ASlendersBestFrend.Character["Left Arm"]
- rarm = game.Players.ASlendersBestFrend.Character["Right Arm"]
- head = game.Players.ASlendersBestFrend.Character.Head
- tool = Instance.new("HopperBin")
- tool.Parent = game.Players.ASlendersBestFrend.Backpack
- tool.Name = "PEE"
- Tool = workspace.ASlendersBestFrend.Head
- wait()
- function onButton1Down(mouse)
- arms = {Tool.Parent:FindFirstChild("Left Arm"), Tool.Parent:FindFirstChild("Right Arm")}
- local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")}
- if sh ~= nil then
- sh[1].Part1 = nil
- sh[2].Part1 = nil
- end
- posla = CFrame.new(-0.5,0,0.5) * CFrame.Angles(math.rad(-20),0,math.rad(32))
- posra = CFrame.new(0.5,0,0.5) * CFrame.Angles(math.rad(-20),0,math.rad(-32))
- print("eey")
- weldla = Instance.new("Weld")
- weldla.Parent = torso
- weldla.Part0 = larm
- weldla.Part1 = torso
- weldla.C0 = CFrame.new(1.5,0,0)
- weldra = Instance.new("Weld")
- weldra.Parent = torso
- weldra.Part0 = rarm
- weldra.Part1 = torso
- weldra.C0 = CFrame.new(-1.5,0,0)
- part = Instance.new("Part")
- part.Parent = game.Players.ASlendersBestFrend.Character
- part.CanCollide = false
- part.Size = Vector3.new(0.1,0.1,0.1)
- part.Transparency = 1
- weldpe = Instance.new("Weld")
- weldpe.Parent = torso
- weldpe.Part0 = torso
- weldpe.Part1 = part
- weldpe.C0 = CFrame.new(0,-0.8,0)
- local poop = Instance.new("ParticleEmitter")
- poop.Parent = part
- poop.Texture = "http://www.roblox.com/asset/?id=41068180"
- poop.Rate = 10000
- poop.Acceleration = Vector3.new(0,-10,0)
- poop.EmissionDirection = "Front"
- poop.Size = NumberSequence.new(0.2)
- wait()
- weldra.C0 = posla
- weldla.C0 = posra
- end
- function onButton1Up(mouse)
- weldpe:remove()
- part:remove()
- weldla.C0 = CFrame.new(1.5,0,0)
- weldra.C0 = CFrame.new(-1.5,0,0)
- end
- function onSelected(mouse)
- mouse.Button1Down:connect(function() onButton1Down(mouse) end)
- mouse.Button1Up:connect(function() onButton1Up(mouse) end)
- end
- function onDeselected(mouse)
- things = torso:GetChildren()
- if arms ~= nil and torso ~= nil then
- local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")}
- if sh ~= nil then
- sh[1].Part1 = arms[1]
- sh[2].Part1 = arms[2]
- end
- end
- for i = 1,#things do
- if things[i].ClassName == "Weld" then
- things[i].Parent = nil
- end
- end
- end
- game.Players.ASlendersBestFrend.Backpack.PEE.Selected:connect(onSelected)
- game.Players.ASlendersBestFrend.Backpack.PEE.Deselected:connect(onDeselected)
Add Comment
Please, Sign In to add comment