SHOW:
|
|
- or go back to the newest paste.
1 | --By Rufus14 -Original Idea by DMS- Edited By Lukaslun17 | |
2 | ||
3 | - | for i,v in pairs(game.Players.Unspecifi_ed.Character:GetChildren()) do |
3 | + | for i,v in pairs(game.Players.lafur2.Character:GetChildren()) do |
4 | if v.ClassName == 'Hat' then | |
5 | v:Destroy() | |
6 | end | |
7 | end | |
8 | ||
9 | - | for i,v in pairs(game.Players.Unspecifi_ed.Character:GetChildren()) do |
9 | + | for i,v in pairs(game.Players.lafur2.Character:GetChildren()) do |
10 | if v.ClassName == 'Accessory' then | |
11 | v:Destroy() | |
12 | end | |
13 | end | |
14 | ||
15 | - | for i,v in pairs(game.Players.Unspecifi_ed.Character:GetChildren()) do |
15 | + | for i,v in pairs(game.Players.lafur2.Character:GetChildren()) do |
16 | if v.ClassName == 'Shirt' then | |
17 | v:Destroy() | |
18 | end | |
19 | end | |
20 | ||
21 | - | for i,v in pairs(game.Players.Unspecifi_ed.Character:GetChildren()) do |
21 | + | for i,v in pairs(game.Players.lafur2.Character:GetChildren()) do |
22 | if v.ClassName == 'Pants' then | |
23 | v:Destroy() | |
24 | end | |
25 | end | |
26 | ||
27 | ||
28 | wait() | |
29 | hat1 = Instance.new('Hat') | |
30 | - | hat1.Parent = game.Players.Unspecifi_ed.Character |
30 | + | hat1.Parent = game.Players.lafur2.Character |
31 | ||
32 | handle = Instance.new('Part') | |
33 | handle.Name = 'Handle' | |
34 | handle.Parent = hat1 | |
35 | handle.Size = Vector3.new(1, 2.3, 1) | |
36 | ||
37 | handlemesh = Instance.new('SpecialMesh') | |
38 | handlemesh.MeshType = 'FileMesh' | |
39 | handlemesh.MeshId = 'http://www.roblox.com/asset/?id=25648271' | |
40 | handlemesh.TextureId = 'rbxassetid://25648261' | |
41 | handlemesh.Parent = handle | |
42 | ||
43 | shirt = Instance.new('Shirt') | |
44 | shirt.Parent = game.Players.Unspecifi_ed.Character | |
45 | shirt.ShirtTemplate = 'http://www.roblox.com/asset/?id=760035015' | |
46 | ||
47 | shirt = Instance.new('Pants') | |
48 | shirt.Parent = game.Players.Unspecifi_ed.Character | |
49 | shirt.PantsTemplate = 'http://www.roblox.com/asset/?id=798526863' | |
50 | ||
51 | ||
52 | Theme = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso) | |
53 | Theme.SoundId = "rbxassetid://626115241" | |
54 | Theme.Looped = true | |
55 | Theme.Volume = 15 | |
56 | Theme:Play() | |
57 | ||
58 | ||
59 | ||
60 | ||
61 | Player = game.Players.LocalPlayer | |
62 | Character = Player.Character | |
63 | local txt = Instance.new("BillboardGui", Character) | |
64 | txt.Adornee = Character.Head | |
65 | txt.Name = "_status" | |
66 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
67 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
68 | local text = Instance.new("TextLabel", txt) | |
69 | text.Size = UDim2.new(10, 0, 7, 0) | |
70 | text.FontSize = "Size24" | |
71 | text.TextScaled = true | |
72 | text.TextTransparency = 0 | |
73 | text.BackgroundTransparency = 1 | |
74 | text.TextTransparency = 0 | |
75 | text.TextStrokeTransparency = 0 | |
76 | text.Font = "Antique" | |
77 | text.TextStrokeColor3 = Color3.new(15,15,15) | |
78 | text.Text = "Made by Rufus14" | |
79 | wait(3) | |
80 | text.Text = "Edit By Lukaslun17" | |
81 | wait(3) | |
82 | text.Text = "We are Number One - WW2 Edition" | |
83 | ||
84 | ||
85 | game.Players.Unspecifi_ed.Character["Body Colors"].HeadColor = BrickColor.new("Really black") | |
86 | ||
87 | ||
88 | mouse = game.Players.LocalPlayer:GetMouse() | |
89 | game.Players.LocalPlayer.Character.Torso.Neck.C1 = CFrame.new(0,-0.7,0) | |
90 | local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
91 | rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
92 | rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"] | |
93 | rhandweld.C1 = CFrame.new(0,1,0) | |
94 | --Converted with ttyyuu12345's model to script plugin v4 | |
95 | function sandbox(var,func) | |
96 | local env = getfenv(func) | |
97 | local newenv = setmetatable({},{ | |
98 | __index = function(self,k) | |
99 | if k=="script" then | |
100 | return var | |
101 | else | |
102 | return env[k] | |
103 | end | |
104 | end, | |
105 | }) | |
106 | setfenv(func,newenv) | |
107 | return func | |
108 | end | |
109 | cors = {} | |
110 | mas = Instance.new("Model",game:GetService("Lighting")) | |
111 | Model0 = Instance.new("Model") | |
112 | Part1 = Instance.new("Part") | |
113 | Weld2 = Instance.new("Weld") | |
114 | Weld3 = Instance.new("Weld") | |
115 | Part4 = Instance.new("Part") | |
116 | Part5 = Instance.new("Part") | |
117 | ParticleEmitter6 = Instance.new("ParticleEmitter") | |
118 | Sound7 = Instance.new("Sound") | |
119 | Part8 = Instance.new("Part") | |
120 | Model0.Name = "faking huge can" | |
121 | Model0.Parent = mas | |
122 | Part1.Parent = Model0 | |
123 | Part1.Rotation = Vector3.new(90, 0, -180) | |
124 | Part1.Shape = Enum.PartType.Cylinder | |
125 | Part1.Size = Vector3.new(1.63530481, 0.735886931, 0.695004463) | |
126 | Part1.CFrame = CFrame.new(-37.7083321, 1.37305737, 43.55299, -1, 0, 0, 0, 0, -1, 0, -1, 0) | |
127 | Part1.BottomSurface = Enum.SurfaceType.Smooth | |
128 | Part1.TopSurface = Enum.SurfaceType.Smooth | |
129 | Part1.Position = Vector3.new(-37.7083321, 1.37305737, 43.55299) | |
130 | Part1.Orientation = Vector3.new(90, 180, 0) | |
131 | Weld2.Parent = Part1 | |
132 | Weld2.C0 = CFrame.new(-1.12427211, 0.0102203041, -0.102206148, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
133 | Weld2.Part0 = Part1 | |
134 | Weld2.Part1 = Part5 | |
135 | Weld3.Parent = Part1 | |
136 | Weld3.C0 = CFrame.new(-0.807440341, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
137 | Weld3.Part0 = Part1 | |
138 | Weld3.Part1 = Part4 | |
139 | Part4.Parent = Model0 | |
140 | Part4.Rotation = Vector3.new(90, 0, -180) | |
141 | Part4.Shape = Enum.PartType.Ball | |
142 | Part4.Size = Vector3.new(0.674563348, 0.674563348, 0.674563348) | |
143 | Part4.CFrame = CFrame.new(-36.9008904, 1.37305737, 43.55299, -1, 0, 0, 0, 0, -1, 0, -1, 0) | |
144 | Part4.BottomSurface = Enum.SurfaceType.Smooth | |
145 | Part4.TopSurface = Enum.SurfaceType.Smooth | |
146 | Part4.Position = Vector3.new(-36.9008904, 1.37305737, 43.55299) | |
147 | Part4.Orientation = Vector3.new(90, 180, 0) | |
148 | Part5.Parent = Model0 | |
149 | Part5.BrickColor = BrickColor.new("Really black") | |
150 | Part5.Rotation = Vector3.new(90, 0, -180) | |
151 | Part5.Shape = Enum.PartType.Cylinder | |
152 | Part5.Size = Vector3.new(0.490591407, 0.143089026, 0.0817651823) | |
153 | Part5.CFrame = CFrame.new(-36.5840607, 1.47526348, 43.5427704, -1, 0, 0, 0, 0, -1, 0, -1, 0) | |
154 | Part5.BottomSurface = Enum.SurfaceType.Smooth | |
155 | Part5.TopSurface = Enum.SurfaceType.Smooth | |
156 | Part5.Color = Color3.new(0, 0, 0) | |
157 | Part5.Position = Vector3.new(-36.5840607, 1.47526348, 43.5427704) | |
158 | Part5.Orientation = Vector3.new(90, 180, 0) | |
159 | Part5.Color = Color3.new(0, 0, 0) | |
160 | ParticleEmitter6.Parent = Part5 | |
161 | ParticleEmitter6.Transparency = NumberSequence.new(0.8,1) | |
162 | ParticleEmitter6.Size = NumberSequence.new(8,18) | |
163 | ParticleEmitter6.Color = ColorSequence.new(Color3.new(1, 0.447059, 0.0784314),Color3.new(1, 0.447059, 0.0784314)) | |
164 | ParticleEmitter6.Texture = "rbxassetid://31727915" | |
165 | ParticleEmitter6.Lifetime = NumberRange.new(10, 10) | |
166 | ParticleEmitter6.Rate = 0 | |
167 | ParticleEmitter6.RotSpeed = NumberRange.new(10, 10) | |
168 | ParticleEmitter6.Speed = NumberRange.new(5, 12) | |
169 | ParticleEmitter6.VelocitySpread = 500 | |
170 | ParticleEmitter6.Color = ColorSequence.new(Color3.new(1, 0.447059, 0.0784314),Color3.new(1, 0.447059, 0.0784314)) | |
171 | Sound7.Name = "garlic bread" | |
172 | Sound7.Parent = Model0 | |
173 | Sound7.SoundId = "rbxassetid://843338638" | |
174 | Sound7.Volume = 8 | |
175 | Sound7.Looped = true | |
176 | for i,v in pairs(mas:GetChildren()) do | |
177 | v.Parent = game:GetService("Players").LocalPlayer.Character | |
178 | pcall(function() v:MakeJoints() end) | |
179 | end | |
180 | mas:Destroy() | |
181 | for i,v in pairs(cors) do | |
182 | spawn(function() | |
183 | pcall(v) | |
184 | end) | |
185 | end | |
186 | Part1.CanCollide = false | |
187 | Part5.CanCollide = false | |
188 | Part4.CanCollide = false | |
189 | --Converted with ttyyuu12345's model to script plugin v4 | |
190 | function sandbox(var,func) | |
191 | local env = getfenv(func) | |
192 | local newenv = setmetatable({},{ | |
193 | __index = function(self,k) | |
194 | if k=="script" then | |
195 | return var | |
196 | else | |
197 | return env[k] | |
198 | end | |
199 | end, | |
200 | }) | |
201 | setfenv(func,newenv) | |
202 | return func | |
203 | end | |
204 | cors = {} | |
205 | mas = Instance.new("Model",game:GetService("Lighting")) | |
206 | Part00 = Instance.new("Part") | |
207 | SpecialMesh1 = Instance.new("SpecialMesh") | |
208 | Part00.Parent = mas | |
209 | Part00.Size = Vector3.new(2.5, 1.29999983, 1.05000019) | |
210 | Part00.CFrame = CFrame.new(-1.3499999, 1.40000379, -8.82500172, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
211 | Part00.BottomSurface = Enum.SurfaceType.Smooth | |
212 | Part00.TopSurface = Enum.SurfaceType.Smooth | |
213 | Part00.Position = Vector3.new(-1.3499999, 1.40000379, -8.82500172) | |
214 | SpecialMesh1.Parent = Part00 | |
215 | SpecialMesh1.MeshId = "rbxassetid://497613846" | |
216 | SpecialMesh1.Scale = Vector3.new(0.349999994, 0.349999994, 0.349999994) | |
217 | SpecialMesh1.TextureId = "rbxassetid://497613952" | |
218 | SpecialMesh1.MeshType = Enum.MeshType.FileMesh | |
219 | SpecialMesh1.Scale = Vector3.new(0.349999994, 0.349999994, 0.349999994) | |
220 | for i,v in pairs(mas:GetChildren()) do | |
221 | v.Parent = game:GetService("Players").LocalPlayer.Character | |
222 | pcall(function() v:MakeJoints() end) | |
223 | end | |
224 | mas:Destroy() | |
225 | for i,v in pairs(cors) do | |
226 | spawn(function() | |
227 | pcall(v) | |
228 | end) | |
229 | end | |
230 | weldbottle = Instance.new("Weld", Part1) | |
231 | weldbottle.Part0 = game.Players.LocalPlayer.Character["Right Arm"] | |
232 | weldbottle.Part1 = Part1 | |
233 | weldbottle.C0 = CFrame.new(0.0999984741, -1.72502387, -0.375068665, -4.49431016e-21, -1, -4.72251821e-22, 6.79972604e-22, 4.72250306e-22, -0.999996424, 1, -4.49431016e-21, 6.79974927e-22) * CFrame.new(0,0,-0.5) | |
234 | weldhat = Instance.new("Weld", game.Players.LocalPlayer.Character.Head) | |
235 | weldhat.Part0 = game.Players.LocalPlayer.Character.Head | |
236 | weldhat.Part1 = Part00 | |
237 | weldhat.C0 = CFrame.new(0,0,-0.3) | |
238 | Part00.CanCollide = false | |
239 | gassing = false | |
240 | cangas = false | |
241 | function keydown() | |
242 | cangas = true | |
243 | Part8 = Instance.new("Part", workspace) | |
244 | Part8.Transparency = 1 | |
245 | Part8.Rotation = Vector3.new(0, 0, -90) | |
246 | Part8.CanCollide = false | |
247 | Part8.Size = Vector3.new(25, 25, 25) | |
248 | Part8.CFrame = CFrame.new(-37.3749924, 0.0750039667, 44.1749916, 0, 1, -0, -1, 0, 0, 0, 0, 1) | |
249 | Part8.BottomSurface = Enum.SurfaceType.Smooth | |
250 | Part8.TopSurface = Enum.SurfaceType.Smooth | |
251 | Part8.Position = Vector3.new(-37.3749924, 0.0750039667, 44.1749916) | |
252 | Part8.Orientation = Vector3.new(0, 0, -90) | |
253 | ParticleEmitter6.Rate = 100 | |
254 | Part8.CanCollide = false | |
255 | Part8.Name = "Gas" | |
256 | local function gasppl(part) | |
257 | local humanoid = part.Parent:findFirstChildOfClass("Humanoid") | |
258 | if cangas then | |
259 | if humanoid then | |
260 | if humanoid.Parent.Name == game.Players.LocalPlayer.Name then | |
261 | else | |
262 | if humanoid.Health <= 2 then | |
263 | humanoid.JumpPower = 0 | |
264 | local humpart = humanoid.Parent:findFirstChild("HumanoidRootPart") | |
265 | if humpart then | |
266 | humpart:destroy() | |
267 | end | |
268 | for i,v in pairs(humanoid.Parent:GetChildren()) do | |
269 | if v.ClassName == "Script" or v.ClassName == "LocalScript" then | |
270 | v:Remove() | |
271 | end | |
272 | end | |
273 | humanoid.PlatformStand = true | |
274 | humanoid.WalkSpeed = 0 | |
275 | humanoid.Name = "getgassedboi" | |
276 | local findlefthip = humanoid.Parent.Torso:findFirstChild("Left Hip") | |
277 | if findlefthip then | |
278 | findlefthip:Remove() | |
279 | local glue = Instance.new("Glue", humanoid.Parent.Torso) | |
280 | glue.Part0 = humanoid.Parent.Torso | |
281 | glue.Part1 = humanoid.Parent["Left Leg"] | |
282 | glue.Name = "Left leg" | |
283 | local collider = Instance.new("Part", humanoid.Parent["Left Leg"]) | |
284 | collider.Position = Vector3.new(0,999,0) | |
285 | collider.Size = Vector3.new(1.5, 1, 1) | |
286 | collider.Shape = "Cylinder" | |
287 | local weld = Instance.new("Weld", collider) | |
288 | weld.Part0 = humanoid.Parent["Left Leg"] | |
289 | weld.Part1 = collider | |
290 | weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2) | |
291 | collider.TopSurface = "Smooth" | |
292 | collider.BottomSurface = "Smooth" | |
293 | collider.formFactor = "Symmetric" | |
294 | glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
295 | glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
296 | collider.Transparency = 1 | |
297 | end | |
298 | -- | |
299 | local findrighthip = humanoid.Parent.Torso:findFirstChild("Right Hip") | |
300 | if findrighthip then | |
301 | findrighthip:Remove() | |
302 | local glue = Instance.new("Glue", humanoid.Parent.Torso) | |
303 | glue.Part0 = humanoid.Parent.Torso | |
304 | glue.Part1 = humanoid.Parent["Right Leg"] | |
305 | glue.Name = "Right leg" | |
306 | local collider = Instance.new("Part", humanoid.Parent["Right Leg"]) | |
307 | collider.Position = Vector3.new(0,999,0) | |
308 | collider.Size = Vector3.new(1.5, 1, 1) | |
309 | collider.Shape = "Cylinder" | |
310 | local weld = Instance.new("Weld", collider) | |
311 | weld.Part0 = humanoid.Parent["Right Leg"] | |
312 | weld.Part1 = collider | |
313 | weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2) | |
314 | collider.TopSurface = "Smooth" | |
315 | collider.BottomSurface = "Smooth" | |
316 | collider.formFactor = "Symmetric" | |
317 | glue.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
318 | glue.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
319 | collider.Transparency = 1 | |
320 | end | |
321 | -- | |
322 | local findrightshoulder = humanoid.Parent.Torso:findFirstChild("Right Shoulder") | |
323 | if findrightshoulder then | |
324 | findrightshoulder:Remove() | |
325 | local glue = Instance.new("Glue", humanoid.Parent.Torso) | |
326 | glue.Part0 = humanoid.Parent.Torso | |
327 | glue.Part1 = humanoid.Parent["Right Arm"] | |
328 | glue.Name = "Right arm" | |
329 | local collider = Instance.new("Part", humanoid.Parent["Right Arm"]) | |
330 | collider.Position = Vector3.new(0,999,0) | |
331 | collider.Size = Vector3.new(1.5, 1, 1) | |
332 | collider.Shape = "Cylinder" | |
333 | local weld = Instance.new("Weld", collider) | |
334 | weld.Part0 = humanoid.Parent["Right Arm"] | |
335 | weld.Part1 = collider | |
336 | weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2) | |
337 | collider.TopSurface = "Smooth" | |
338 | collider.BottomSurface = "Smooth" | |
339 | collider.formFactor = "Symmetric" | |
340 | glue.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
341 | glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
342 | collider.Transparency = 1 | |
343 | end | |
344 | -- | |
345 | local findleftshoulder = humanoid.Parent.Torso:findFirstChild("Left Shoulder") | |
346 | if findleftshoulder then | |
347 | findleftshoulder:Remove() | |
348 | local glue = Instance.new("Glue", humanoid.Parent.Torso) | |
349 | glue.Part0 = humanoid.Parent.Torso | |
350 | glue.Part1 = humanoid.Parent["Left Arm"] | |
351 | glue.Name = "Left arm" | |
352 | local collider = Instance.new("Part", humanoid.Parent["Left Arm"]) | |
353 | collider.Position = Vector3.new(0,999,0) | |
354 | collider.Size = Vector3.new(1.5, 1, 1) | |
355 | collider.Shape = "Cylinder" | |
356 | local weld = Instance.new("Weld", collider) | |
357 | weld.Part0 = humanoid.Parent["Left Arm"] | |
358 | weld.Part1 = collider | |
359 | weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2) | |
360 | collider.TopSurface = "Smooth" | |
361 | collider.BottomSurface = "Smooth" | |
362 | collider.formFactor = "Symmetric" | |
363 | glue.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
364 | glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
365 | collider.Transparency = 1 | |
366 | end | |
367 | local findhead = humanoid.Parent:findFirstChild("Head") | |
368 | if findhead then | |
369 | local attachment = Instance.new("Attachment", humanoid.Parent.Head) | |
370 | attachment.Position = Vector3.new(0, -0.5, 0) | |
371 | attachment.Name = "lol" | |
372 | attachment.Visible = false | |
373 | humanoid.Parent.Torso.NeckAttachment.Visible = false | |
374 | humanoid.Parent.Torso.NeckAttachment.Position = humanoid.Parent.Torso.NeckAttachment.Position + Vector3.new(0,0,0) | |
375 | local ball = Instance.new("BallSocketConstraint", humanoid.Parent) | |
376 | ball.Attachment0 = humanoid.Parent.Torso.NeckAttachment | |
377 | ball.Attachment1 = attachment | |
378 | ball.LimitsEnabled = true | |
379 | ball.TwistLimitsEnabled = true | |
380 | ball.UpperAngle = 90 | |
381 | ball.Restitution = 0.5 | |
382 | ball.TwistUpperAngle = 90 | |
383 | ball.TwistLowerAngle = -90 | |
384 | local collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso) | |
385 | collidepartofleftleg.Name = "Bone" | |
386 | collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7) | |
387 | collidepartofleftleg.Transparency = 1 | |
388 | collidepartofleftleg:BreakJoints() | |
389 | local weeld = Instance.new("Weld", collidepartofleftleg) | |
390 | weeld.Part0 = collidepartofleftleg | |
391 | weeld.Part1 = humanoid.Parent["Head"] | |
392 | if humanoid.Parent.Torso:findFirstChild("Neck") then | |
393 | humanoid.Parent.Torso.Neck:destroy() | |
394 | end | |
395 | end | |
396 | wait(10) | |
397 | humanoid.Parent.Anchivable = true | |
398 | humanoid.Parent:Clone() | |
399 | humanoid.Parent:destroy() | |
400 | else | |
401 | humanoid.Health = humanoid.Health - 5 | |
402 | humanoid.WalkSpeed = humanoid.WalkSpeed - 0.002 | |
403 | end | |
404 | end | |
405 | end | |
406 | end | |
407 | end | |
408 | Part8.Touched:connect(gasppl) | |
409 | Sound7:Play() | |
410 | end | |
411 | function keyup() | |
412 | cangas = false | |
413 | Part8:destroy() | |
414 | ParticleEmitter6.Rate = 0 | |
415 | Sound7:Stop() | |
416 | end | |
417 | mouse.Button1Down:connect(keydown) | |
418 | mouse.Button1Up:connect(keyup) | |
419 | while true do | |
420 | game:GetService("RunService").RenderStepped:wait() | |
421 | if Sound7.Parent == nil then | |
422 | Sound7.Parent = workspace | |
423 | end | |
424 | Part8.CFrame = Part1.CFrame | |
425 | game.Players.LocalPlayer.Character.Torso.CFrame = CFrame.new(game.Players.LocalPlayer.Character.Torso.Position,Vector3.new(mouse.Hit.p.x,game.Players.LocalPlayer.Character.Torso.Position.y,mouse.Hit.p.z)) | |
426 | game.Players.LocalPlayer.Character.Torso.Neck.C0 = CFrame.new(0,0.8,0) * CFrame.fromEulerAnglesXYZ(math.asin((mouse.Hit.p-mouse.Origin.p).unit.y),0,0) | |
427 | rhandweld.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.asin((mouse.Hit.p-mouse.Origin.p).unit.y),0,0) * CFrame.Angles(1.5,0,0) | |
428 | end |