Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --jojobasicLMAO
- local Player = lafur2 --<=== Replace With Your Name
- script.Parent = Player.Character
- local CAS = {Actions={}}
- local Event = Instance.new("RemoteEvent")
- Event.Name = "UserInput_Event"
- Event.Parent = Player.Character
- local fakeEvent = function()
- local t = {_fakeEvent=true}
- t.Connect = function(self,f)self.Function=f end
- t.connect = t.Connect
- return t
- end
- local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
- local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
- function CAS:BindAction(name,fun,touch,...)
- CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
- end
- function CAS:UnbindAction(name)
- CAS.Actions[name] = nil
- end
- local function te(self,ev,...)
- local t = m[ev]
- if t and t._fakeEvent and t.Function then
- t.Function(...)
- end
- end
- m.TrigEvent = te
- UIS.TrigEvent = te
- Event.OnServerEvent:Connect(function(plr,io)
- if plr~=Player then return end
- if io.isMouse then
- m.Target = io.Target
- m.Hit = io.Hit
- elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
- if io.UserInputState == Enum.UserInputState.Begin then
- m:TrigEvent("Button1Down")
- else
- m:TrigEvent("Button1Up")
- end
- else
- for n,t in pairs(CAS.Actions) do
- for _,k in pairs(t.Keys) do
- if k==io.KeyCode then
- t.Function(t.Name,io.UserInputState,io)
- end
- end
- end
- if io.UserInputState == Enum.UserInputState.Begin then
- m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
- UIS:TrigEvent("InputBegan",io,false)
- else
- m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
- UIS:TrigEvent("InputEnded",io,false)
- end
- end
- end)
- Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
- end
- ---------Replace All "LocalPlayer" With Your Name.
- --Remove "Mouse =" or "local mouse =" at the start.
- --Replace Kermat161 At The Top Of The Script With You Name.
- -----------------------------Script In The Line's.
- -------------------------------------------------
- --pleyr=owner
- pleyr = owner
- chor=pleyr.Character
- RA=chor["Right Arm"]
- LA=chor["Left Arm"]
- RL=chor["Right Leg"]
- LL=chor["Left Leg"]
- Tors=chor.Torso
- print("Player Parts connected")
- print("Making Stand Parts...")
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Model0 = Instance.new("Model")
- Part1 = Instance.new("Part")
- Part1.BrickColor = BrickColor.new("Bright green")
- Motor6D2 = Instance.new("Motor6D")
- Motor6D3 = Instance.new("Motor6D")
- Motor6D4 = Instance.new("Motor6D")
- Motor6D5 = Instance.new("Motor6D")
- Motor6D6 = Instance.new("Motor6D")
- Part7 = Instance.new("Part")
- Part7.BrickColor = BrickColor.new("Navy blue")
- Part8 = Instance.new("Part")
- Part8.BrickColor = BrickColor.new("Navy blue")
- Part9 = Instance.new("Part")
- Part9.BrickColor = BrickColor.new("New Yeller")
- Part10 = Instance.new("Part")
- Part10.BrickColor = BrickColor.new("New Yeller")
- Part11 = Instance.new("Part")
- Decal12 = Instance.new("Decal")
- Model0.Name = "Dummy"
- Model0.Parent = mas
- Part1.Name = "Torsoa"
- Part1.Parent = chor
- Part1.CFrame = CFrame.new(21.033844, 14.2177982, 30.0088959, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1.Position = Vector3.new(21.033844, 14.2177982, 30.0088959)
- Part1.Size = Vector3.new(2, 2, 1)
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.CanCollide = false
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Motor6D2.Name = "Left Hip"
- Motor6D2.Parent = Part1
- Motor6D2.MaxVelocity = 0.10000000149012
- Motor6D2.C0 = CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
- Motor6D2.C1 = CFrame.new(-0.5, 1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
- Motor6D2.Part0 = Part1
- Motor6D2.Part1 = Part7
- Motor6D2.part1 = Part7
- Motor6D3.Name = "Right Hip"
- Motor6D3.Parent = Part1
- Motor6D3.MaxVelocity = 0.10000000149012
- Motor6D3.C0 = CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08)
- Motor6D3.C1 = CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08)
- Motor6D3.Part0 = Part1
- Motor6D3.Part1 = Part8
- Motor6D3.part1 = Part8
- Motor6D4.Name = "Left Shoulder"
- Motor6D4.Parent = Part1
- Motor6D4.MaxVelocity = 0.10000000149012
- Motor6D4.C0 = CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
- Motor6D4.C1 = CFrame.new(0.5, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
- Motor6D4.Part0 = Part1
- Motor6D4.Part1 = Part9
- Motor6D4.part1 = Part9
- Motor6D5.Name = "Right Shoulder"
- Motor6D5.Parent = Part1
- Motor6D5.MaxVelocity = 0.10000000149012
- Motor6D5.C0 = CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08)
- Motor6D5.C1 = CFrame.new(-0.5, 0.5, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08)
- Motor6D5.Part0 = Part1
- Motor6D5.Part1 = Part10
- Motor6D5.part1 = Part10
- Motor6D6.Name = "Neck"
- Motor6D6.Parent = Part1
- Motor6D6.MaxVelocity = 0.10000000149012
- Motor6D6.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- Motor6D6.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- Motor6D6.Part0 = Part1
- Motor6D6.Part1 = Part11
- Motor6D6.part1 = Part11
- Part7.Name = "Left Lega"
- Part7.Parent = chor
- Part7.CFrame = CFrame.new(20.533844, 12.2177982, 30.0088959, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)
- Part7.Position = Vector3.new(20.533844, 12.2177982, 30.0088959)
- Part7.Size = Vector3.new(1, 2, 1)
- Part7.BottomSurface = Enum.SurfaceType.Smooth
- Part7.CanCollide = false
- Part7.TopSurface = Enum.SurfaceType.Smooth
- Part8.Name = "Right Lega"
- Part8.Parent = chor
- Part8.CFrame = CFrame.new(21.533844, 12.2177982, 30.0088959, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)
- Part8.Position = Vector3.new(21.533844, 12.2177982, 30.0088959)
- Part8.Size = Vector3.new(1, 2, 1)
- Part8.BottomSurface = Enum.SurfaceType.Smooth
- Part8.CanCollide = false
- Part8.TopSurface = Enum.SurfaceType.Smooth
- Part9.Name = "Left Arma"
- Part9.Parent = chor
- Part9.CFrame = CFrame.new(19.533844, 14.2177982, 30.0088959, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)
- Part9.Position = Vector3.new(19.533844, 14.2177982, 30.0088959)
- Part9.Size = Vector3.new(1, 2, 1)
- Part9.BottomSurface = Enum.SurfaceType.Smooth
- Part9.CanCollide = false
- Part9.TopSurface = Enum.SurfaceType.Smooth
- Part10.Name = "Right Arma"
- Part10.Parent = chor
- Part10.CFrame = CFrame.new(22.533844, 14.2177982, 30.0088959, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)
- Part10.Position = Vector3.new(22.533844, 14.2177982, 30.0088959)
- Part10.Size = Vector3.new(1, 2, 1)
- Part10.BottomSurface = Enum.SurfaceType.Smooth
- Part10.CanCollide = false
- Part10.TopSurface = Enum.SurfaceType.Smooth
- Part11.Name = "Heada"
- Part11.Parent = chor
- Part11.CFrame = CFrame.new(21.033844, 15.7177982, 30.0088959, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part11.Position = Vector3.new(21.033844, 15.7177982, 30.0088959)
- Part11.Size = Vector3.new(2, 1, 1)
- Part11.BottomSurface = Enum.SurfaceType.Smooth
- Part11.CanCollide = false
- Part11.TopSurface = Enum.SurfaceType.Smooth
- Decal12.Name = "Face"
- Decal12.Parent = Part11
- Decal12.Texture = "rbxasset://textures/face.png"
- local m = Instance.new("Model")
- m.Name = "Standpositon"
- StandPos = Instance.new("Part", m)
- StandPos.BrickColor = BrickColor.new("Medium stone grey")
- StandPos.Name = "Standposition"
- StandPos.CFrame = CFrame.new(32.3926582, 3.74999094, 32.4928284, 1, 0, 0, 0, 0.999989986, 0, 0, 0, 1)
- StandPos.Size = Vector3.new(1, 1, 1)
- StandPos.BottomSurface = Enum.SurfaceType.Smooth
- StandPos.TopSurface = Enum.SurfaceType.Smooth
- StandPos.Transparency=0.1
- StandPos.CanCollide=false
- w11=Instance.new("Weld", chor)
- w11.Name = "Standweld"
- w11.Part0 = Tors
- w11.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w11.Part1 = StandPos
- w11.C1 = CFrame.new(1, 0, -1.50000191, 1, 0, 0, 0, 0.999994993, 0, 0, 0, 1)
- Part1.CanCollide=false
- Part10.CanCollide=false
- Part9.CanCollide=false
- Part11.CanCollide=false
- Part7.CanCollide=false
- m.Parent = game:service("Workspace")
- m:MakeJoints()
- local humRootPart = chor.HumanoidRootPart
- local newStand6 = Part1
- newStand6.Parent = chor
- local bodyPos6 = Instance.new("BodyPosition", newStand6)
- bodyPos6.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- print("14%")
- local bodyGyro6 = Instance.new("BodyGyro", newStand6)
- bodyGyro6.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
- while wait() do
- bodyPos6.Position = StandPos.Position
- bodyGyro6.CFrame = StandPos.CFrame
- end
- table.insert(cors,sandbox(ModuleScript2,function()
- script.Parent = nil
- local Module = script;
- local Scripts = {};
- for _,v in next, Module:GetChildren'' do
- Scripts[v.Name:lower()] = v:Clone();
- v:Remove()
- end;
- Module.Changed:connect(function() repeat while true do end until nil end)
- end))
- --[[
- Part1=TorsoS
- Part10=RightarmS
- Part9=LeftarmS
- Part11=HeadS
- Part7=LeftLegS
- Part8=RightLegS
- --]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement