View difference between Paste ID: bbU55GJM and Bny1TL5g
SHOW: | | - or go back to the newest paste.
1
--https://github.com/Mokiros/roblox-FE-compatibility
2
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
3
local Player,game,owner = owner,game
4
local RealPlayer = Player
5
do
6
	print("FE Compatibility code V2 by Mokiros")
7
	local RealPlayer = RealPlayer
8
	script.Parent = RealPlayer.Character
9
10
	--Fake event to make stuff like Mouse.KeyDown work
11
	local Disconnect_Function = function(this)
12
		this[1].Functions[this[2]] = nil
13
	end
14
	local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
15
	local FakeEvent_Metatable = {__index={
16
		Connect = function(this,f)
17
			local i = tostring(math.random(0,10000))
18
			while this.Functions[i] do
19
				i = tostring(math.random(0,10000))
20
			end
21
			this.Functions[i] = f
22
			return setmetatable({this,i},Disconnect_Metatable)
23
		end
24
	}}
25
	FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
26
	local function fakeEvent()
27
		return setmetatable({Functions={}},FakeEvent_Metatable)
28
	end
29
30
	--Creating fake input objects with fake variables
31
    local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
32
    FakeMouse.keyUp = FakeMouse.KeyUp
33
    FakeMouse.keyDown = FakeMouse.KeyDown
34
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
35
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
36
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
37
	end}
38
	--Merged 2 functions into one by checking amount of arguments
39
	CAS.UnbindAction = CAS.BindAction
40
41
	--This function will trigger the events that have been :Connect()'ed
42
	local function TriggerEvent(self,ev,...)
43
		for _,f in pairs(self[ev].Functions) do
44
			f(...)
45
		end
46
	end
47
	FakeMouse.TriggerEvent = TriggerEvent
48
	UIS.TriggerEvent = TriggerEvent
49
50
	--Client communication
51
	local Event = Instance.new("RemoteEvent")
52
	Event.Name = "UserInput_Event"
53
	Event.OnServerEvent:Connect(function(plr,io)
54
	    if plr~=RealPlayer then return end
55
		FakeMouse.Target = io.Target
56
		FakeMouse.Hit = io.Hit
57
		if not io.isMouse then
58
			local b = io.UserInputState == Enum.UserInputState.Begin
59
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
60
				return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
61
			end
62
			if io.UserInputType == Enum.UserInputType.MouseButton2 then
63
				return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
64
			end
65
			for _,t in pairs(CAS.Actions) do
66
				for _,k in pairs(t.Keys) do
67
					if k==io.KeyCode then
68
						t.Function(t.Name,io.UserInputState,io)
69
					end
70
				end
71
			end
72
			FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
73
			UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
74
	    end
75
	end)
76
	Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
77
	local Mouse = owner:GetMouse()
78
	local UIS = game:GetService("UserInputService")
79
	local input = function(io,RobloxHandled)
80
		if RobloxHandled then return end
81
		--Since InputObject is a client-side instance, we create and pass table instead
82
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
83
	end
84
	UIS.InputBegan:Connect(input)
85
	UIS.InputEnded:Connect(input)
86
87
	local h,t
88
	--Give the server mouse data every second frame, but only if the values changed
89
	--If player is not moving their mouse, client won't fire events
90
	local HB = game:GetService("RunService").Heartbeat
91
	while true do
92
		if h~=Mouse.Hit or t~=Mouse.Target then
93
			h,t=Mouse.Hit,Mouse.Target
94
			Event:FireServer({isMouse=true,Target=t,Hit=h})
95
		end
96
		--Wait 2 frames
97
		for i=1,2 do
98
			HB:Wait()
99
		end
100
	end]==],script)
101
102
	----Sandboxed game object that allows the usage of client-side methods and services
103
	--Real game object
104
	local RealGame = game
105
106
	--Metatable for fake service
107
	local FakeService_Metatable = {
108
		__index = function(self,k)
109
			local s = rawget(self,"_RealService")
110
			if s then
111
				return typeof(s[k])=="function"
112
				and function(_,...)return s[k](s,...)end or s[k]
113
			end
114
		end,
115
		__newindex = function(self,k,v)
116
			local s = rawget(self,"_RealService")
117
			if s then s[k]=v end
118
		end
119
	}
120
	local function FakeService(t,RealService)
121
		t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
122
		return setmetatable(t,FakeService_Metatable)
123
	end
124
125
	--Fake game object
126
	local FakeGame = {
127
		GetService = function(self,s)
128
			return rawget(self,s) or RealGame:GetService(s)
129
		end,
130
		Players = FakeService({
131
			LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
132
		},"Players"),
133
		UserInputService = FakeService(UIS,"UserInputService"),
134
		ContextActionService = FakeService(CAS,"ContextActionService"),
135
		RunService = FakeService({
136
			_btrs = {},
137
			RenderStepped = RealGame:GetService("RunService").Heartbeat,
138
			BindToRenderStep = function(self,name,_,fun)
139
				self._btrs[name] = self.Heartbeat:Connect(fun)
140
			end,
141
			UnbindFromRenderStep = function(self,name)
142
				self._btrs[name]:Disconnect()
143
			end,
144
		},"RunService")
145
	}
146
	rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
147
	FakeGame.service = FakeGame.GetService
148
	FakeService(FakeGame,game)
149
	--Changing owner to fake player object to support owner:GetMouse()
150
	game,owner = FakeGame,FakeGame.Players.LocalPlayer
151
end
152
153
--go duck
154
--note. this is a stupid script
155
--lets get moms credit card
156
157
158
plr = owner
159
char = plr.Character
160
tors = char.Torso
161
hed = char.Head
162
ra = char["Right Arm"]
163
la = char["Left Arm"]
164
rl = char["Right Leg"]
165
ll = char["Left Leg"]
166
167
hed:ClearAllChildren()
168
hed.Transparency = 0.9
169
--hed.Size = Vector3.new(2, 1, 1)
170
171
--[[
172
hed2 = Instance.new("Part",char)
173
hed2.Size = Vector3.new(2, 1, 1)
174
hed2.CanCollide = false
175
weld = Instance.new("Weld",hed2)
176
weld.Part0 = hed2
177
weld.Part1 = hed
178
]]--
179
180
function makeweld(a, b)
181
	local well = Instance.new("Weld",char)
182
	well.Part0 = a
183
	well.Part1 = b
184
	return well
185
end
186
187
--[[
188
ra2 = ra:Clone()
189
ra2.Name = "fakerightarm"
190
ra2.Parent = char
191
makeweld(ra2, ra)
192
193
la2 = la:Clone()
194
la2.Name = "fakeleftarm"
195
la2.Parent = char
196
makeweld(la2, la)
197
198
rl2 = rl:Clone()
199
rl2.Name = "fakerightleg"
200
rl2.Parent = char
201
makeweld(rl2, rl)
202
203
ll2 = ll:Clone()
204
ll2.Name = "fakeleftleg"
205
ll2.Parent = char
206
makeweld(ll2, ll)
207
208
tors2 = tors:Clone()
209
tors2.Name = "faketorso"
210
tors2.Parent = char
211
makeweld(tors2, tors)
212
]]--
213
214
ra.Transparency = 1
215
la.Transparency = 1
216
rl.Transparency = 1
217
ll.Transparency = 1
218
tors.Transparency = 1
219
hed.Transparency = 0.9
220
hed.Size = Vector3.new(1, 1, 1)
221
222
ram = Instance.new("BlockMesh",ra)
223
ram.Scale = Vector3.new(0.8, 1, 0.8)
224
ram.Offset = Vector3.new(-0.3, 0, 0)
225
226
lam = ram:Clone()
227
lam.Parent = la
228
lam.Offset = Vector3.new(0.3, 0, 0)
229
230
llm = ram:Clone()
231
llm.Parent = ll
232
llm.Offset = Vector3.new(0.1, 0, 0)
233
234
rlm = ram:Clone()
235
rlm.Parent = rl
236
rlm.Offset = Vector3.new(-0.1, 0, 0)
237
238
torsm = Instance.new("BlockMesh",tors)
239
torsm.Scale = Vector3.new(0.8, 1, 0.8)
240
torsm.Offset = Vector3.new(0, 0, 0)
241
242
--[[
243
hedm = Instance.new("BlockMesh",hed)
244
hedm.Scale = Vector3.new(0.8, 1.6, 1.6)
245
hedm.Offset = Vector3.new(0, 0.2, 0)
246
]]--
247
248
--STEVE--
249
250
251
--Converted with ttyyuu12345's model to script plugin v4
252
function sandbox(var,func)
253
	local env = getfenv(func)
254
	local newenv = setmetatable({},{
255
		__index = function(self,k)
256
			if k=="script" then
257
				return var
258
			else
259
				return env[k]
260
			end
261
		end,
262
	})
263
	setfenv(func,newenv)
264
	return func
265
end
266
cors = {}
267
mas = Instance.new("Model",game:GetService("Lighting"))
268
Model0 = Instance.new("Model")
269
Part1 = Instance.new("Part")
270
Decal2 = Instance.new("Decal")
271
BodyGyro3 = Instance.new("BodyGyro")
272
BlockMesh4 = Instance.new("BlockMesh")
273
Decal5 = Instance.new("Decal")
274
Decal6 = Instance.new("Decal")
275
Decal7 = Instance.new("Decal")
276
Decal8 = Instance.new("Decal")
277
Decal9 = Instance.new("Decal")
278
Decal10 = Instance.new("Decal")
279
Part11 = Instance.new("Part")
280
BlockMesh12 = Instance.new("BlockMesh")
281
Decal13 = Instance.new("Decal")
282
Decal14 = Instance.new("Decal")
283
Decal15 = Instance.new("Decal")
284
Decal16 = Instance.new("Decal")
285
Decal17 = Instance.new("Decal")
286
Decal18 = Instance.new("Decal")
287
Part19 = Instance.new("Part")
288
Decal20 = Instance.new("Decal")
289
Decal21 = Instance.new("Decal")
290
Decal22 = Instance.new("Decal")
291
Decal23 = Instance.new("Decal")
292
Decal24 = Instance.new("Decal")
293
Decal25 = Instance.new("Decal")
294
BlockMesh26 = Instance.new("BlockMesh")
295
Part27 = Instance.new("Part")
296
BlockMesh28 = Instance.new("BlockMesh")
297
Decal29 = Instance.new("Decal")
298
Decal30 = Instance.new("Decal")
299
Decal31 = Instance.new("Decal")
300
Decal32 = Instance.new("Decal")
301
Decal33 = Instance.new("Decal")
302
Decal34 = Instance.new("Decal")
303
Part36 = Instance.new("Part")
304
Decal37 = Instance.new("Decal")
305
Decal38 = Instance.new("Decal")
306
Decal39 = Instance.new("Decal")
307
Decal40 = Instance.new("Decal")
308
Decal41 = Instance.new("Decal")
309
Decal42 = Instance.new("Decal")
310
BlockMesh43 = Instance.new("BlockMesh")
311
Part45 = Instance.new("Part")
312
BlockMesh46 = Instance.new("BlockMesh")
313
Decal47 = Instance.new("Decal")
314
Decal48 = Instance.new("Decal")
315
Decal49 = Instance.new("Decal")
316
Decal50 = Instance.new("Decal")
317
Decal51 = Instance.new("Decal")
318
Decal52 = Instance.new("Decal")
319
Model0.Name = "steve"
320
Model0.Parent = mas
321
Part1.Name = "Torso"
322
Part1.Parent = Model0
323
Part1.CFrame = CFrame.new(-28.0668945, 2.98818398, -95.3312988, -1, 0, 1.20896348e-12, 0, 1, 0, 1.20896348e-12, 0, -1)
324
Part1.Orientation = Vector3.new(0, 180, 0)
325
Part1.Position = Vector3.new(-28.0668945, 2.98818398, -95.3312988)
326
Part1.Rotation = Vector3.new(-180, 0, -180)
327
Part1.Color = Color3.new(0.0156863, 0.686275, 0.92549)
328
Part1.Size = Vector3.new(2, 2, 1)
329
Part1.Anchored = true
330
Part1.BrickColor = BrickColor.new("Cyan")
331
Part1.LeftParamA = 0
332
Part1.LeftParamB = 0
333
Part1.LeftSurface = Enum.SurfaceType.Weld
334
Part1.RightParamA = 0
335
Part1.RightParamB = 0
336
Part1.RightSurface = Enum.SurfaceType.Weld
337
Part1.brickColor = BrickColor.new("Cyan")
338
Part1.FormFactor = Enum.FormFactor.Symmetric
339
Part1.formFactor = Enum.FormFactor.Symmetric
340
Decal2.Name = "roblox"
341
Decal2.Parent = Part1
342
BodyGyro3.Parent = Part1
343
BodyGyro3.MaxTorque = Vector3.new(0, 0, 0)
344
BodyGyro3.maxTorque = Vector3.new(0, 0, 0)
345
BlockMesh4.Parent = Part1
346
BlockMesh4.Scale = Vector3.new(0.800000012, 1, 0.800000012)
347
Decal5.Parent = Part1
348
Decal5.Texture = "http://www.roblox.com/asset/?id=38934753"
349
Decal6.Parent = Part1
350
Decal6.Texture = "http://www.roblox.com/asset/?id=38934762"
351
Decal6.Face = Enum.NormalId.Right
352
Decal7.Parent = Part1
353
Decal7.Texture = "http://www.roblox.com/asset/?id=38934762"
354
Decal7.Face = Enum.NormalId.Left
355
Decal8.Parent = Part1
356
Decal8.Texture = "http://www.roblox.com/asset/?id=38934731"
357
Decal8.Face = Enum.NormalId.Back
358
Decal9.Parent = Part1
359
Decal9.Texture = "http://www.roblox.com/asset/?id=38934780"
360
Decal9.Face = Enum.NormalId.Top
361
Decal10.Parent = Part1
362
Decal10.Texture = "http://www.roblox.com/asset/?id=38934740"
363
Decal10.Face = Enum.NormalId.Bottom
364
Part11.Name = "Head"
365
Part11.Parent = Model0
366
Part11.CFrame = CFrame.new(-28.0668945, 4.58819008, -95.3312988, -1, 0, 1.20896348e-12, 0, 1, 0, 1.20896348e-12, 0, -1)
367
Part11.Orientation = Vector3.new(0, 180, 0)
368
Part11.Position = Vector3.new(-28.0668945, 4.58819008, -95.3312988)
369
Part11.Rotation = Vector3.new(-180, 0, -180)
370
Part11.Color = Color3.new(0.8, 0.556863, 0.411765)
371
Part11.Size = Vector3.new(2, 1, 1)
372
Part11.Anchored = true
373
Part11.BrickColor = BrickColor.new("Nougat")
374
Part11.TopSurface = Enum.SurfaceType.Smooth
375
Part11.brickColor = BrickColor.new("Nougat")
376
Part11.FormFactor = Enum.FormFactor.Custom
377
Part11.formFactor = Enum.FormFactor.Custom
378
BlockMesh12.Parent = Part11
379
BlockMesh12.Offset = Vector3.new(0, 0.200000003, 0)
380
BlockMesh12.Scale = Vector3.new(0.800000012, 1.60000002, 1.60000002)
381
Decal13.Parent = Part11
382
Decal13.Texture = "http://www.roblox.com/asset/?id=36047347"
383
Decal13.Face = Enum.NormalId.Bottom
384
Decal14.Parent = Part11
385
Decal14.Texture = "http://www.roblox.com/asset/?id=36047330"
386
Decal14.Face = Enum.NormalId.Back
387
Decal15.Parent = Part11
388
Decal15.Texture = "http://www.roblox.com/asset/?id=36047341"
389
Decal15.Face = Enum.NormalId.Top
390
Decal16.Parent = Part11
391
Decal16.Texture = "http://www.roblox.com/asset/?id=36047315"
392
Decal16.Face = Enum.NormalId.Right
393
Decal17.Parent = Part11
394
Decal17.Texture = "http://www.roblox.com/asset/?id=36047323"
395
Decal17.Face = Enum.NormalId.Left
396
Decal18.Parent = Part11
397
Decal18.Texture = "http://www.roblox.com/asset/?id=36047310"
398
Part19.Name = "Left Arm"
399
Part19.Parent = Model0
400
Part19.CFrame = CFrame.new(-26.5668945, 2.99018478, -95.3342896, -1, 5.1708473e-15, 1.24733167e-12, 0, 0.999990344, -0.00439589936, 1.20896348e-12, -0.00439589936, -0.999990344)
401
Part19.Orientation = Vector3.new(0.25, 180, 0)
402
Part19.Position = Vector3.new(-26.5668945, 2.99018478, -95.3342896)
403
Part19.Rotation = Vector3.new(179.75, 0, -180)
404
Part19.Color = Color3.new(0.917647, 0.721569, 0.572549)
405
Part19.Size = Vector3.new(1, 2, 1)
406
Part19.Anchored = true
407
Part19.BrickColor = BrickColor.new("Light orange")
408
Part19.brickColor = BrickColor.new("Light orange")
409
Part19.FormFactor = Enum.FormFactor.Symmetric
410
Part19.formFactor = Enum.FormFactor.Symmetric
411
Decal20.Parent = Part19
412
Decal20.Texture = "http://www.roblox.com/asset/?id=38934568"
413
Decal20.Face = Enum.NormalId.Bottom
414
Decal21.Parent = Part19
415
Decal21.Texture = "http://www.roblox.com/asset/?id=38934613"
416
Decal21.Face = Enum.NormalId.Top
417
Decal22.Parent = Part19
418
Decal22.Texture = "http://www.roblox.com/asset/?id=38934581"
419
Decal23.Parent = Part19
420
Decal23.Texture = "http://www.roblox.com/asset/?id=38934591"
421
Decal23.Face = Enum.NormalId.Right
422
Decal24.Parent = Part19
423
Decal24.Texture = "http://www.roblox.com/asset/?id=38934560"
424
Decal24.Face = Enum.NormalId.Back
425
Decal25.Parent = Part19
426
Decal25.Texture = "http://www.roblox.com/asset/?id=38934601"
427
Decal25.Face = Enum.NormalId.Left
428
BlockMesh26.Parent = Part19
429
BlockMesh26.Offset = Vector3.new(0.300000012, 0, 0)
430
BlockMesh26.Scale = Vector3.new(0.800000012, 1, 0.800000012)
431
Part27.Name = "Left Leg"
432
Part27.Parent = Model0
433
Part27.CFrame = CFrame.new(-27.5668945, 1.0021925, -95.3352966, -1, -5.1708473e-15, 1.17272468e-12, 0, 0.999990344, 0.00439589936, 1.20896348e-12, 0.00439589936, -0.999990344)
434
Part27.Orientation = Vector3.new(-0.25, 180, 0)
435
Part27.Position = Vector3.new(-27.5668945, 1.0021925, -95.3352966)
436
Part27.Rotation = Vector3.new(-179.75, 0, 180)
437
Part27.Color = Color3.new(0.643137, 0.741176, 0.278431)
438
Part27.Size = Vector3.new(1, 2, 1)
439
Part27.Anchored = true
440
Part27.BottomSurface = Enum.SurfaceType.Smooth
441
Part27.BrickColor = BrickColor.new("Br. yellowish green")
442
Part27.brickColor = BrickColor.new("Br. yellowish green")
443
Part27.FormFactor = Enum.FormFactor.Symmetric
444
Part27.formFactor = Enum.FormFactor.Symmetric
445
BlockMesh28.Parent = Part27
446
BlockMesh28.Offset = Vector3.new(0.100000001, 0, 0)
447
BlockMesh28.Scale = Vector3.new(0.800000012, 1, 0.800000012)
448
Decal29.Parent = Part27
449
Decal29.Texture = "http://www.roblox.com/asset/?id=38936226"
450
Decal30.Parent = Part27
451
Decal30.Texture = "http://www.roblox.com/asset/?id=38936255"
452
Decal30.Face = Enum.NormalId.Left
453
Decal31.Parent = Part27
454
Decal31.Texture = "http://www.roblox.com/asset/?id=38936242"
455
Decal31.Face = Enum.NormalId.Right
456
Decal32.Parent = Part27
457
Decal32.Texture = "http://www.roblox.com/asset/?id=38936209"
458
Decal32.Face = Enum.NormalId.Back
459
Decal33.Parent = Part27
460
Decal33.Texture = "http://www.roblox.com/asset/?id=38934719"
461
Decal33.Face = Enum.NormalId.Top
462
Decal34.Parent = Part27
463
Decal34.Texture = "http://www.roblox.com/asset/?id=38934712"
464
Decal34.Face = Enum.NormalId.Bottom
465
Part36.Name = "Right Arm"
466
Part36.Parent = Model0
467
Part36.CFrame = CFrame.new(-29.5668793, 2.99018478, -95.3282776, -1, -5.1708473e-15, 1.17272468e-12, 0, 0.999990344, 0.00439589936, 1.20896348e-12, 0.00439589936, -0.999990344)
468
Part36.Orientation = Vector3.new(-0.25, 180, 0)
469
Part36.Position = Vector3.new(-29.5668793, 2.99018478, -95.3282776)
470
Part36.Rotation = Vector3.new(-179.75, 0, 180)
471
Part36.Color = Color3.new(0.8, 0.556863, 0.411765)
472
Part36.Size = Vector3.new(1, 2, 1)
473
Part36.Anchored = true
474
Part36.BrickColor = BrickColor.new("Nougat")
475
Part36.brickColor = BrickColor.new("Nougat")
476
Part36.FormFactor = Enum.FormFactor.Symmetric
477
Part36.formFactor = Enum.FormFactor.Symmetric
478
Decal37.Parent = Part36
479
Decal37.Texture = "http://www.roblox.com/asset/?id=38934568"
480
Decal37.Face = Enum.NormalId.Bottom
481
Decal38.Parent = Part36
482
Decal38.Texture = "http://www.roblox.com/asset/?id=38934613"
483
Decal38.Face = Enum.NormalId.Top
484
Decal39.Parent = Part36
485
Decal39.Texture = "http://www.roblox.com/asset/?id=38934581"
486
Decal40.Parent = Part36
487
Decal40.Texture = "http://www.roblox.com/asset/?id=38934591"
488
Decal40.Face = Enum.NormalId.Right
489
Decal41.Parent = Part36
490
Decal41.Texture = "http://www.roblox.com/asset/?id=38934560"
491
Decal41.Face = Enum.NormalId.Back
492
Decal42.Parent = Part36
493
Decal42.Texture = "http://www.roblox.com/asset/?id=38934601"
494
Decal42.Face = Enum.NormalId.Left
495
BlockMesh43.Parent = Part36
496
BlockMesh43.Offset = Vector3.new(-0.300000012, 0, 0)
497
BlockMesh43.Scale = Vector3.new(0.800000012, 1, 0.800000012)
498
Part45.Name = "Right Leg"
499
Part45.Parent = Model0
500
Part45.CFrame = CFrame.new(-28.5668945, 1.0021925, -95.3272705, -1, 5.1708473e-15, 1.24733167e-12, 0, 0.999990344, -0.00439589936, 1.20896348e-12, -0.00439589936, -0.999990344)
501
Part45.Orientation = Vector3.new(0.25, 180, 0)
502
Part45.Position = Vector3.new(-28.5668945, 1.0021925, -95.3272705)
503
Part45.Rotation = Vector3.new(179.75, 0, -180)
504
Part45.Color = Color3.new(0, 0.12549, 0.376471)
505
Part45.Size = Vector3.new(1, 2, 1)
506
Part45.Anchored = true
507
Part45.BottomSurface = Enum.SurfaceType.Smooth
508
Part45.BrickColor = BrickColor.new("Navy blue")
509
Part45.brickColor = BrickColor.new("Navy blue")
510
Part45.FormFactor = Enum.FormFactor.Symmetric
511
Part45.formFactor = Enum.FormFactor.Symmetric
512
BlockMesh46.Parent = Part45
513
BlockMesh46.Offset = Vector3.new(-0.100000001, 0, 0)
514
BlockMesh46.Scale = Vector3.new(0.800000012, 1, 0.800000012)
515
Decal47.Parent = Part45
516
Decal47.Texture = "http://www.roblox.com/asset/?id=38936226"
517
Decal48.Parent = Part45
518
Decal48.Texture = "http://www.roblox.com/asset/?id=38936255"
519
Decal48.Face = Enum.NormalId.Left
520
Decal49.Parent = Part45
521
Decal49.Texture = "http://www.roblox.com/asset/?id=38936242"
522
Decal49.Face = Enum.NormalId.Right
523
Decal50.Parent = Part45
524
Decal50.Texture = "http://www.roblox.com/asset/?id=38936209"
525
Decal50.Face = Enum.NormalId.Back
526
Decal51.Parent = Part45
527
Decal51.Texture = "http://www.roblox.com/asset/?id=38934719"
528
Decal51.Face = Enum.NormalId.Top
529
Decal52.Parent = Part45
530
Decal52.Texture = "http://www.roblox.com/asset/?id=38934712"
531
Decal52.Face = Enum.NormalId.Bottom
532
for i,v in pairs(mas:GetChildren()) do
533
	v.Parent = char
534
	pcall(function() v:MakeJoints() end)
535
end
536
for i,v in pairs(Model0:GetChildren()) do
537
	if v:IsA("Part") then
538
		v.Anchored = false
539
		v.CanCollide = false
540
		v.CastShadow = false
541
		v:BreakJoints()
542
	end
543
end
544
mas:Destroy()
545
for i,v in pairs(cors) do
546
	spawn(function()
547
		pcall(v)
548
	end)
549
end
550
551
ezweld = function(p, a, b, cf)
552
    local weld = Instance.new("Weld",p)
553
    weld.Part0 = a
554
    weld.Part1 = b
555
    weld.C0 = cf
556
    return weld
557
end
558
559
for _,v in pairs (char:children()) do
560
	if v:IsA("Hat") or v:IsA("Accessory") then
561
		v:Destroy()
562
	end
563
end
564
565
raw = ezweld(char, Model0["Right Arm"], ra, CFrame.new())
566
law = ezweld(char, Model0["Left Arm"], la, CFrame.new())
567
rlw = ezweld(char, Model0["Right Leg"], rl, CFrame.new())
568
llw = ezweld(char, Model0["Left Leg"], ll, CFrame.new())
569
torsw = ezweld(char, Model0["Torso"], tors, CFrame.new())
570
hedw = ezweld(char, Model0["Head"], hed, CFrame.new())
571
572
--[[
573
local sur = Instance.new("BillboardGui", hed)
574
sur.Name = "Billboard"
575
sur.Adornee = hed
576
sur.Size = UDim2.new(4.5, 0, 1, 0)
577
sur.StudsOffset = Vector3.new(0, 2, 0)
578
local text = Instance.new("TextLabel", sur)
579
text.Text = plr.Name
580
text.Size = UDim2.new(1, 0, 1, 0)
581
text.TextScaled = true
582
text.BackgroundTransparency = 0.5
583
text.BackgroundColor3 = Color3.new(0, 0, 0)
584
text.Font = Enum.Font.Arcade
585
text.TextColor3 = Color3.new(1, 1, 1)
586
text.TextStrokeTransparency = 1
587
]]--
588
589
print ("wired by me. go duck sr.")
590
print ("I SEE U FOUND A WIRED SCRIPT")
591
print ("WHEN A DAY U GOT A PIG. A CANT SPELL PIG. AND HE MAYBE SING. I DUNNOOOOOOOOOOOOOOOOO")
592
print ("AND THEY SAW NOOBS ACROSS THE STREET........edit by zeddikuss123 furry.")
593
local s = Instance.new("Sound") 
594
595
s.Name = "Name" 
596
s.SoundId = "rbxassetid://0" 
597
s.Volume = 10
598
s.Looped = true 
599
s.archivable = false 
600
601
s.Parent = game.Workspace 
602
603
wait(0.2) 
604
605
s:play()
606
local pchar = game.Players.LocalPlayer.Character -- Can change player here --
607
608
for i,v in pairs(pchar.Torso:GetChildren()) do
609
   if v.ClassName == 'Decal' then
610
        v:Destroy()
611
   end
612
end
613
for i,v in pairs(pchar:GetChildren()) do
614
   if v.ClassName == 'Hat' then
615
       v:Destroy()
616
   end
617
end
618
619
for i,v in pairs(pchar.Head:GetChildren()) do
620
   if v.ClassName == 'Decal' then
621
       v:Destroy()
622
   end
623
end
624
625
local duck = Instance.new('SpecialMesh', pchar.Torso)
626
duck.MeshType = 'FileMesh'
627
duck.MeshId = 'rbxassetid://1719079794'
628
duck.TextureId = 'rbxassetid://1719079844'
629
duck.Scale = Vector3.new(0.1,  0.1, 0.1)
630
pchar.Head.Transparency = 1
631
pchar['Left Arm'].Transparency = 1
632
pchar['Right Arm'].Transparency = 1
633
pchar['Left Leg'].Transparency = 1
634
pchar['Right Leg'].Transparency = 1
635
CV="White"
636
637
	p = game.Players.LocalPlayer
638
	char = p.Character
639
	local txt = Instance.new("BillboardGui", char)
640
	txt.Adornee = char .Head
641
	txt.Name = "_status"
642
	txt.Size = UDim2.new(2, 0, 1.2, 0)
643
	txt.StudsOffset = Vector3.new(-9, 8, 0)
644
	local text = Instance.new("TextLabel", txt)
645
	text.Size = UDim2.new(10, 0, 7, 0)
646
	text.FontSize = "Size24"
647
	text.TextScaled = true
648
	text.TextTransparency = 0
649
	text.BackgroundTransparency = 1 
650
	text.TextTransparency = 0
651
	text.TextStrokeTransparency = 1
652
	text.Font = "Highway"
653
	text.TextStrokeColor3 = Color3.fromRGB(255,0,0)
654
655
	v=Instance.new("Part")
656
	v.Name = "ColorBrick"
657
	v.Parent=p.Character
658
	v.FormFactor="Symmetric"
659
	v.Anchored=true
660
	v.CanCollide=false
661
	v.BottomSurface="Smooth"
662
	v.TopSurface="Smooth"
663
	v.Size=Vector3.new(10,5,3)
664
	v.Transparency=1
665
	v.CFrame=char.Torso.CFrame
666
	v.BrickColor=BrickColor.new(CV)
667
	v.Transparency=1
668
	text.TextColor3 = Color3.fromRGB(255,192,203)
669
	v.Shape="Block"
670
	text.Text = "steve"
671
wait(1/60)
672
Effects = { }
673
local Player = game:service'Players'.localPlayer
674
local chara = Player.Character
675
local Humanoid = chara:FindFirstChildOfClass("Humanoid")
676
local Mouse = Player:GetMouse()
677
local LeftArm = chara["Left Arm"]
678
local RightArm = chara["Right Arm"]
679
local LeftLeg = chara["Left Leg"]
680
local RightLeg = chara["Right Leg"]
681
local Head = chara.Head
682
local Torso = chara.Torso
683
local Camera = game.Workspace.CurrentCamera
684
local RootPart = chara.HumanoidRootPart
685
local RootJoint = RootPart.RootJoint
686
local attack = false
687
local Anim = 'Idle'
688
local attacktype = 1
689
local delays = false
690
local play = true
691
local targetted = nil
692
local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude 
693
local velocity = RootPart.Velocity.y
694
local sine = 0
695
local change = 1
696
local doe = 0
697
local Create = LoadLibrary("RbxUtility").Create
698
Humanoid.WalkSpeed = 2
699
700
Humanoid.Animator.Parent = nil
701
chara.Animate.Parent = nil
702
703
local newMotor = function(part0, part1, c0, c1)
704
	local w = Create('Motor'){
705
		Parent = part0,
706
		Part0 = part0,
707
		Part1 = part1,
708
		C0 = c0,
709
		C1 = c1,
710
	}
711
	return w
712
end
713
714
function clerp(a, b, t)
715
	return a:lerp(b, t)
716
end
717
718
RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
719
NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
720
721
local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) 
722
local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
723
local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
724
local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
725
RootJoint.C1 = CFrame.new(0, 0, 0)
726
RootJoint.C0 = CFrame.new(0, 0, 0)
727
Torso.Neck.C1 = CFrame.new(0, 0, 0)
728
Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
729
730
local rarmc1 = RW.C1
731
local larmc1 = LW.C1
732
local rlegc1 = RH.C1
733
local llegc1 = LH.C1
734
735
local resetc1 = false
736
737
function PlayAnimationFromTable(table, speed, bool)
738
	RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) 
739
	Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) 
740
	RW.C0 = clerp(RW.C0, table[3], speed) 
741
	LW.C0 = clerp(LW.C0, table[4], speed) 
742
	RH.C0 = clerp(RH.C0, table[5], speed) 
743
	LH.C0 = clerp(LH.C0, table[6], speed) 
744
	if bool == true then
745
		if resetc1 == false then
746
			resetc1 = true
747
			RootJoint.C1 = RootJoint.C1
748
			Torso.Neck.C1 = Torso.Neck.C1
749
			RW.C1 = rarmc1
750
			LW.C1 = larmc1
751
			RH.C1 = rlegc1
752
			LH.C1 = llegc1
753
		end
754
	end
755
end
756
757
ArtificialHB = Instance.new("BindableEvent", script)
758
ArtificialHB.Name = "Heartbeat"
759
script:WaitForChild("Heartbeat")
760
frame = 0.03333333333333
761
tf = 0
762
allowframeloss = false
763
tossremainder = false
764
lastframe = tick()
765
script.Heartbeat:Fire()
766
game:GetService("RunService").Heartbeat:connect(function(s, p)
767
  tf = tf + s
768
  if tf >= frame then
769
    if allowframeloss then
770
      script.Heartbeat:Fire()
771
      lastframe = tick()
772
    else
773
      for i = 1, math.floor(tf / frame) do
774
        script.Heartbeat:Fire()
775
      end
776
      lastframe = tick()
777
    end
778
    if tossremainder then
779
      tf = 0
780
    else
781
      tf = tf - frame * math.floor(tf / frame)
782
    end
783
  end
784
end)
785
function swait(num)
786
  if num == 0 or num == nil then
787
    ArtificialHB.Event:wait()
788
  else
789
    for i = 0, num do
790
      ArtificialHB.Event:wait()
791
    end
792
  end
793
end
794
795
function RemoveOutlines(part)
796
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
797
end
798
799
sndid = "rbxassetid://231901259"
800
sndpi = 1
801
saun = Instance.new("Sound",Head)
802
saun.Volume = 5
803
saun.Pitch = sndpi
804
saun.SoundId = sndid
805
saun.Name = "a"
806
saun.Looped = true
807
saun:Play()
808
809
dant = 0
810
811
Mouse.KeyDown:connect(function(key)
812
key=key:lower()
813
if key=="e" then
814
if dant == 0 then
815
dant = 1
816
sndid = "rbxassetid://2332357201"
817
sndpi = 1
818
elseif dant == 1 then
819
dant = 0
820
sndid = "rbxassetid://231901259"
821
sndpi = 1
822
end
823
saun.Pitch = sndpi
824
saun.SoundId = sndid
825
saun:Play()
826
end
827
end)
828
829
while true do
830
if Head:FindFirstChild("a")==nil then
831
saun = Instance.new("Sound",Head)
832
saun.Volume = 1
833
saun.Pitch = sndpi
834
saun.SoundId = sndid
835
saun.Name = "a"
836
saun.Looped = true
837
saun:Play()
838
end
839
if dant == 0 then
840
for i = 0, 1, 0.25 do
841
swait()
842
PlayAnimationFromTable({
843
CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
844
CFrame.new(0, 1.4999938, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
845
CFrame.new(0.833580494, 1.12330246, 6.2584877e-07, -0.342020094, -1.63087847e-07, 0.939692676, 0.321394086, -0.939692557, 0.116977669, 0.883022249, 0.342020333, 0.321393758),
846
CFrame.new(-0.833579302, 1.12330115, -1.49011612e-07, -0.342019886, 4.07719511e-08, -0.939692736, -0.321392894, -0.939693034, 0.116977319, -0.883022726, 0.342019141, 0.321393728),
847
CFrame.new(0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
848
CFrame.new(-0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
849
}, .5, false)
850
end
851
for i = 0, 1, 0.25 do
852
swait()
853
PlayAnimationFromTable({
854
CFrame.new(-0.268402338, -0.187939167, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1),
855
CFrame.new(-0.409892142, 1.36144388, 0, 0.766044796, -0.642787218, 0, 0.642787218, 0.766044855, 0, 0, 0, 1),
856
CFrame.new(0.535924554, 1.16478181, 3.87430191e-07, -0.431316972, 0.32139343, 0.843013644, 0.185034022, -0.883022308, 0.431316644, 0.883022249, 0.342020333, 0.321393758),
857
CFrame.new(-1.03069234, 0.594579875, -2.38418579e-07, -0.211470842, 0.321393758, -0.923030972, -0.418988168, -0.883022726, -0.211470872, -0.883022726, 0.342019141, 0.321393728),
858
CFrame.new(0.951213062, -1.54518354, 0, 0.866025686, -0.499999642, 0, 0.499999642, 0.866025686, 0, 0, 0, 1),
859
CFrame.new(0.214191973, -1.8503952, 0, 0.766044796, -0.642787218, 0, 0.642787218, 0.766044855, 0, 0, 0, 1),
860
}, .5, false)
861
end
862
for i = 0, 1, 0.25 do
863
swait()
864
PlayAnimationFromTable({
865
CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
866
CFrame.new(0, 1.4999938, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
867
CFrame.new(0.833580494, 1.12330246, 6.2584877e-07, -0.342020094, -1.63087847e-07, 0.939692676, 0.321394086, -0.939692557, 0.116977669, 0.883022249, 0.342020333, 0.321393758),
868
CFrame.new(-0.833579302, 1.12330115, -1.49011612e-07, -0.342019886, 4.07719511e-08, -0.939692736, -0.321392894, -0.939693034, 0.116977319, -0.883022726, 0.342019141, 0.321393728),
869
CFrame.new(0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
870
CFrame.new(-0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
871
}, .5, false)
872
end
873
for i = 0, 1, 0.25 do
874
swait()
875
PlayAnimationFromTable({
876
CFrame.new(0.268400908, -0.187940732, 0, 0.939692855, -0.342019945, 0, 0.342019975, 0.939692795, 0, 0, 0, 1),
877
CFrame.new(0.409947664, 1.36144304, 0, 0.766039729, 0.642798781, 0, -0.642787337, 0.766043961, 0, 0, 0, 1),
878
CFrame.new(1.03070939, 0.594575524, -2.2649765e-06, -0.21146287, -0.321413547, 0.923025966, 0.418989599, -0.883016884, -0.21149224, 0.883023918, 0.342015505, 0.321394145),
879
CFrame.new(-0.535904408, 1.16477537, -3.27825546e-07, -0.431322306, -0.321409196, -0.843005002, -0.185032129, -0.883013964, 0.431334615, -0.883019984, 0.342027217, 0.321392536),
880
CFrame.new(-0.214235365, -1.8503921, 0, 0.766041398, 0.64279145, 0, -0.64279151, 0.766041279, 0, 0, 0, 1),
881
CFrame.new(-0.965987146, -1.57677674, 0, 0.866024733, 0.500001609, 0, -0.500001609, 0.866024613, 0, 0, 0, 1),
882
}, .5, false)
883
end
884
elseif dant == 1 then
885
for i = 0, 1, 0.1 do
886
swait()
887
PlayAnimationFromTable({
888
CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
889
CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
890
CFrame.new(1.09999847, 1.1920929e-07, -0.600001514, 0, 0, 1, 0.173647985, 0.984807849, 0, -0.984807849, 0.173647985, 0),
891
CFrame.new(-1.09999847, 1.1920929e-07, -0.600001514, 0, 0, -1, -0.173647985, 0.984807849, 0, 0.984807849, 0.173647985, 0),
892
CFrame.new(0.5, -1.99999881, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
893
CFrame.new(-0.5, -1.99999881, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
894
}, .2, false)
895
end
896
for i = 0, 1, 0.1 do
897
swait()
898
PlayAnimationFromTable({
899
CFrame.new(-0.0436433926, 0, -0.113613628, 0.64278698, 0, -0.766044974, 0, 1, 0, 0.766044974, 0, 0.64278698),
900
CFrame.new(0, 1.49999809, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
901
CFrame.new(1.09998989, 1, -0.599998474, 0, 0, 1, 1, 0, 0, 0, 1, 0),
902
CFrame.new(-1.10000229, 1, -0.599998474, 0, 0, -1, -1, 0, 0, 0, 1, 0),
903
CFrame.new(0.499988556, -1.99999797, -3.81469727e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1),
904
CFrame.new(-0.500012398, -1.78038144, -0.819608092, 1, 0, 1.49011612e-08, 0, 0.499999046, -0.866025984, 0, 0.866026044, 0.499999046),
905
}, .2, false)
906
end
907
for i = 0, 1, 0.1 do
908
swait()
909
PlayAnimationFromTable({
910
CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
911
CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
912
CFrame.new(1.09999847, 1.1920929e-07, -0.600001514, 0, 0, 1, 0.173647985, 0.984807849, 0, -0.984807849, 0.173647985, 0),
913
CFrame.new(-1.09999847, 1.1920929e-07, -0.600001514, 0, 0, -1, -0.173647985, 0.984807849, 0, 0.984807849, 0.173647985, 0),
914
CFrame.new(0.5, -1.99999881, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
915
CFrame.new(-0.5, -1.99999881, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
916
}, .2, false)
917
end
918
for i = 0, 1, 0.1 do
919
swait()
920
PlayAnimationFromTable({
921
CFrame.new(0.261404335, 0, -0.167939946, 0.76604414, 0, 0.642788053, 0, 1, 0, -0.642788053, 0, 0.76604414),
922
CFrame.new(0, 1.49999285, 0, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012),
923
CFrame.new(1.10000622, 0.999999046, -0.599996626, 0, 0, 1.00000012, 1, 0, 0, 0, 1.00000012, 0),
924
CFrame.new(-1.09999859, 0.999999046, -0.59999758, 0, 0, -1.00000012, -1, 0, 0, 0, 1.00000012, 0),
925
CFrame.new(0.500000179, -1.78038287, -0.81961149, 1.00000012, -2.98023224e-08, 2.98023224e-08, 0, 0.499999046, -0.866025925, 0, 0.866025984, 0.499999106),
926
CFrame.new(-0.500003874, -1.99999893, 3.81469772e-06, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012),
927
}, .2, false)
928
end
929
end
930
end