View difference between Paste ID: 924D6pBQ and 9hF1bVVL
SHOW: | | - or go back to the newest paste.
1
--jojobasicLMAO
2-
local Player = owner   --<=== Replace With Your Name
2+
local Player = lafur2   --<=== Replace With Your Name
3
4
5-
local Mouse,mouse,UserInputService,ContextActionService
5+
6-
do
6+
7
	local Event = Instance.new("RemoteEvent")
8
	Event.Name = "UserInput_Event"
9
	Event.Parent = Player.Character
10
	local fakeEvent = function()
11
		local t = {_fakeEvent=true}
12
		t.Connect = function(self,f)self.Function=f end
13
		t.connect = t.Connect
14
		return t
15
	end
16
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
17
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
18
	function CAS:BindAction(name,fun,touch,...)
19
		CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
20
	end
21
	function CAS:UnbindAction(name)
22
		CAS.Actions[name] = nil
23
	end
24
	local function te(self,ev,...)
25
		local t = m[ev]
26
		if t and t._fakeEvent and t.Function then
27
			t.Function(...)
28
		end
29
	end
30
	m.TrigEvent = te
31
	UIS.TrigEvent = te
32
	Event.OnServerEvent:Connect(function(plr,io)
33
	    if plr~=Player then return end
34
		if io.isMouse then
35
			m.Target = io.Target
36
			m.Hit = io.Hit
37
		elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
38
	        if io.UserInputState == Enum.UserInputState.Begin then
39
				m:TrigEvent("Button1Down")
40
			else
41
				m:TrigEvent("Button1Up")
42
			end
43
		else
44
			for n,t in pairs(CAS.Actions) do
45
				for _,k in pairs(t.Keys) do
46
					if k==io.KeyCode then
47
						t.Function(t.Name,io.UserInputState,io)
48
					end
49
				end
50
			end
51
	        if io.UserInputState == Enum.UserInputState.Begin then
52
	            m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
53
				UIS:TrigEvent("InputBegan",io,false)
54
			else
55
				m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
56
				UIS:TrigEvent("InputEnded",io,false)
57
	        end
58
	    end
59
	end)
60
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
61
end
62
63
---------Replace All "LocalPlayer" With Your Name.
64
--Remove "Mouse =" or "local mouse =" at the start.
65
--Replace Kermat161 At The Top Of The Script With You Name.
66
-----------------------------Script In The Line's.
67
68
69
-------------------------------------------------
70
--pleyr=owner
71
pleyr = owner
72
chor=pleyr.Character
73
RA=chor["Right Arm"]
74
LA=chor["Left Arm"]
75
RL=chor["Right Leg"]
76
LL=chor["Left Leg"]
77
78
Tors=chor.Torso
79
print("Player Parts connected")
80
print("Making Stand Parts...")
81
82
function sandbox(var,func)
83
	local env = getfenv(func)
84
	local newenv = setmetatable({},{
85
		__index = function(self,k)
86
			if k=="script" then
87
				return var
88
			else
89
				return env[k]
90
			end
91
		end,
92
	})
93
	setfenv(func,newenv)
94
	return func
95
end
96
cors = {}
97
mas = Instance.new("Model",game:GetService("Lighting"))
98
Model0 = Instance.new("Model")
99
Part1 = Instance.new("Part")
100
Part1.BrickColor = BrickColor.new("Bright green")
101
Motor6D2 = Instance.new("Motor6D")
102
Motor6D3 = Instance.new("Motor6D")
103
Motor6D4 = Instance.new("Motor6D")
104
Motor6D5 = Instance.new("Motor6D")
105
Motor6D6 = Instance.new("Motor6D")
106
Part7 = Instance.new("Part")
107
Part7.BrickColor = BrickColor.new("Navy blue")
108
Part8 = Instance.new("Part")
109
Part8.BrickColor = BrickColor.new("Navy blue")
110
Part9 = Instance.new("Part")
111
Part9.BrickColor = BrickColor.new("New Yeller")
112
Part10 = Instance.new("Part")
113
Part10.BrickColor = BrickColor.new("New Yeller")
114
Part11 = Instance.new("Part")
115
Decal12 = Instance.new("Decal")
116
Model0.Name = "Dummy"
117
Model0.Parent = mas
118
Part1.Name = "Torsoa"
119
Part1.Parent = chor
120
Part1.CFrame = CFrame.new(21.033844, 14.2177982, 30.0088959, 1, 0, 0, 0, 1, 0, 0, 0, 1)
121
Part1.Position = Vector3.new(21.033844, 14.2177982, 30.0088959)
122
Part1.Size = Vector3.new(2, 2, 1)
123
Part1.BottomSurface = Enum.SurfaceType.Smooth
124
Part1.CanCollide = false
125
Part1.TopSurface = Enum.SurfaceType.Smooth
126
Motor6D2.Name = "Left Hip"
127
Motor6D2.Parent = Part1
128
Motor6D2.MaxVelocity = 0.10000000149012
129
Motor6D2.C0 = CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
130
Motor6D2.C1 = CFrame.new(-0.5, 1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
131
Motor6D2.Part0 = Part1
132
Motor6D2.Part1 = Part7
133
Motor6D2.part1 = Part7
134
Motor6D3.Name = "Right Hip"
135
Motor6D3.Parent = Part1
136
Motor6D3.MaxVelocity = 0.10000000149012
137
Motor6D3.C0 = CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08)
138
Motor6D3.C1 = CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08)
139
Motor6D3.Part0 = Part1
140
Motor6D3.Part1 = Part8
141
Motor6D3.part1 = Part8
142
Motor6D4.Name = "Left Shoulder"
143
Motor6D4.Parent = Part1
144
Motor6D4.MaxVelocity = 0.10000000149012
145
Motor6D4.C0 = CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
146
Motor6D4.C1 = CFrame.new(0.5, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
147
Motor6D4.Part0 = Part1
148
Motor6D4.Part1 = Part9
149
Motor6D4.part1 = Part9
150
Motor6D5.Name = "Right Shoulder"
151
Motor6D5.Parent = Part1
152
Motor6D5.MaxVelocity = 0.10000000149012
153
Motor6D5.C0 = CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08)
154
Motor6D5.C1 = CFrame.new(-0.5, 0.5, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08)
155
Motor6D5.Part0 = Part1
156
Motor6D5.Part1 = Part10
157
Motor6D5.part1 = Part10
158
Motor6D6.Name = "Neck"
159
Motor6D6.Parent = Part1
160
Motor6D6.MaxVelocity = 0.10000000149012
161
Motor6D6.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
162
Motor6D6.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
163
Motor6D6.Part0 = Part1
164
Motor6D6.Part1 = Part11
165
Motor6D6.part1 = Part11
166
Part7.Name = "Left Lega"
167
Part7.Parent = chor
168
Part7.CFrame = CFrame.new(20.533844, 12.2177982, 30.0088959, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)
169
Part7.Position = Vector3.new(20.533844, 12.2177982, 30.0088959)
170
Part7.Size = Vector3.new(1, 2, 1)
171
Part7.BottomSurface = Enum.SurfaceType.Smooth
172
Part7.CanCollide = false
173
Part7.TopSurface = Enum.SurfaceType.Smooth
174
Part8.Name = "Right Lega"
175
Part8.Parent = chor
176
Part8.CFrame = CFrame.new(21.533844, 12.2177982, 30.0088959, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)
177
Part8.Position = Vector3.new(21.533844, 12.2177982, 30.0088959)
178
Part8.Size = Vector3.new(1, 2, 1)
179
Part8.BottomSurface = Enum.SurfaceType.Smooth
180
Part8.CanCollide = false
181
Part8.TopSurface = Enum.SurfaceType.Smooth
182
Part9.Name = "Left Arma"
183
Part9.Parent = chor
184
Part9.CFrame = CFrame.new(19.533844, 14.2177982, 30.0088959, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)
185
Part9.Position = Vector3.new(19.533844, 14.2177982, 30.0088959)
186
Part9.Size = Vector3.new(1, 2, 1)
187
Part9.BottomSurface = Enum.SurfaceType.Smooth
188
Part9.CanCollide = false
189
Part9.TopSurface = Enum.SurfaceType.Smooth
190
Part10.Name = "Right Arma"
191
Part10.Parent = chor
192
Part10.CFrame = CFrame.new(22.533844, 14.2177982, 30.0088959, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)
193
Part10.Position = Vector3.new(22.533844, 14.2177982, 30.0088959)
194
Part10.Size = Vector3.new(1, 2, 1)
195
Part10.BottomSurface = Enum.SurfaceType.Smooth
196
Part10.CanCollide = false
197
Part10.TopSurface = Enum.SurfaceType.Smooth
198
Part11.Name = "Heada"
199
Part11.Parent = chor
200
Part11.CFrame = CFrame.new(21.033844, 15.7177982, 30.0088959, 1, 0, 0, 0, 1, 0, 0, 0, 1)
201
Part11.Position = Vector3.new(21.033844, 15.7177982, 30.0088959)
202
Part11.Size = Vector3.new(2, 1, 1)
203
Part11.BottomSurface = Enum.SurfaceType.Smooth
204
Part11.CanCollide = false
205
Part11.TopSurface = Enum.SurfaceType.Smooth
206
Decal12.Name = "Face"
207
Decal12.Parent = Part11
208
Decal12.Texture = "rbxasset://textures/face.png"
209
local m = Instance.new("Model")
210
m.Name = "Standpositon"
211
StandPos = Instance.new("Part", m)
212
StandPos.BrickColor = BrickColor.new("Medium stone grey")
213
StandPos.Name = "Standposition"
214
StandPos.CFrame = CFrame.new(32.3926582, 3.74999094, 32.4928284, 1, 0, 0, 0, 0.999989986, 0, 0, 0, 1)
215
StandPos.Size = Vector3.new(1, 1, 1)
216
StandPos.BottomSurface = Enum.SurfaceType.Smooth
217
StandPos.TopSurface = Enum.SurfaceType.Smooth
218
StandPos.Transparency=0.1
219
StandPos.CanCollide=false
220
w11=Instance.new("Weld", chor)
221
w11.Name = "Standweld"
222
w11.Part0 = Tors
223
w11.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
224
w11.Part1 = StandPos
225
w11.C1 = CFrame.new(1, 0, -1.50000191, 1, 0, 0, 0, 0.999994993, 0, 0, 0, 1)
226
Part1.CanCollide=false
227
Part10.CanCollide=false
228
Part9.CanCollide=false
229
Part11.CanCollide=false
230
Part7.CanCollide=false
231
232
m.Parent = game:service("Workspace")
233
m:MakeJoints()
234
   local humRootPart = chor.HumanoidRootPart
235
236
   local newStand6 = Part1
237
238
   newStand6.Parent = chor
239
240
241
242
  
243
   local bodyPos6 = Instance.new("BodyPosition", newStand6)
244
   bodyPos6.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
245
 print("14%") 
246
   local bodyGyro6 = Instance.new("BodyGyro", newStand6)
247
   bodyGyro6.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
248
249
   while wait() do
250
251
	bodyPos6.Position = StandPos.Position
252
    bodyGyro6.CFrame = StandPos.CFrame
253
254
 end
255
256
table.insert(cors,sandbox(ModuleScript2,function()
257
script.Parent = nil
258
local Module = script;
259
local Scripts = {};
260
for _,v in next, Module:GetChildren'' do
261
    Scripts[v.Name:lower()] = v:Clone();
262
    v:Remove()
263
end;
264
265
Module.Changed:connect(function() repeat while true do end until nil end)
266
267
end))
268
--[[
269
Part1=TorsoS
270
Part10=RightarmS
271
Part9=LeftarmS
272
Part11=HeadS
273
Part7=LeftLegS
274
Part8=RightLegS
275
--]]