View difference between Paste ID: vr0E1p4i and wFrhKKbG
SHOW: | | - or go back to the newest paste.
1
print("FE code by Starzozero, Thanks to him!")
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 by Mokiros, Edited by StarzoZero")
7
	local rp = RealPlayer
8
	script.Parent = rp.Character
9
	
10
	--RemoteEvent for communicating
11
	local Event = Instance.new("RemoteEvent")
12
	Event.Name = "UserInput_Event"
13
14
	--Fake event to make stuff like Mouse.KeyDown work
15
	local function fakeEvent()
16
		local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
17
		t.connect = t.Connect
18
		return t
19
	end
20
21
	--Creating fake input objects with fake variables
22
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
23
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
24
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
25
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
26
	end}
27
	--Merged 2 functions into one by checking amount of arguments
28
	CAS.UnbindAction = CAS.BindAction
29
30
	--This function will trigger the events that have been :Connect()'ed
31
	local function te(self,ev,...)
32
		local t = m[ev]
33
		if t and t._fakeEvent then
34
			for _,f in pairs(t.Functions) do
35
				f(...)
36
			end
37
		end
38
	end
39
	m.TrigEvent = te
40
	UIS.TrigEvent = te
41
42
	Event.OnServerEvent:Connect(function(plr,io)
43
	    if plr~=rp then return end
44
		m.Target = io.Target
45
		m.Hit = io.Hit
46
		if not io.isMouse then
47
			local b = io.UserInputState == Enum.UserInputState.Begin
48
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
49
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
50
			end
51
			if io.UserInputType == Enum.UserInputType.MouseButton2 then
52
				return m:TrigEvent(b and "Button2Down" or "Button2Up")
53
			end
54
			for _,t in pairs(CAS.Actions) do
55
				for _,k in pairs(t.Keys) do
56
					if k==io.KeyCode then
57
						t.Function(t.Name,io.UserInputState,io)
58
					end
59
				end
60
			end
61
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
62
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
63
	    end
64
	end)
65
	Event.Parent = NLS([==[
66
	local Player = game:GetService("Players").LocalPlayer
67
	local Event = script:WaitForChild("UserInput_Event")
68
	local Mouse = Player:GetMouse()
69
	local UIS = game:GetService("UserInputService")
70
	local input = function(io,a)
71
		if a then return end
72
		--Since InputObject is a client-side instance, we create and pass table instead
73
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
74
	end
75
	UIS.InputBegan:Connect(input)
76
	UIS.InputEnded:Connect(input)
77
	local h,t
78
	--Give the server mouse data 30 times every second, but only if the values changed
79
	--If player is not moving their mouse, client won't fire events
80
	while wait(1/30) do
81
		if h~=Mouse.Hit or t~=Mouse.Target then
82
			h,t=Mouse.Hit,Mouse.Target
83
			Event:FireServer({isMouse=true,Target=t,Hit=h})
84
		end
85
	end]==],Player.Character)
86
87
	----Sandboxed game object that allows the usage of client-side methods and services
88
	--Real game object
89
	local _rg = game
90
91
	--Metatable for fake service
92
	local fsmt = {
93
		__index = function(self,k)
94
			local s = rawget(self,"_RealService")
95
			if s then
96
				return typeof(s[k])=="function"
97
				and function(_,...)return s[k](s,...)end or s[k]
98
			end
99
		end,
100
		__newindex = function(self,k,v)
101
			local s = rawget(self,"_RealService")
102
			if s then s[k]=v end
103
		end
104
	}
105
	local function FakeService(t,RealService)
106
		t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
107
		return setmetatable(t,fsmt)
108
	end
109
110
	--Fake game object
111
	local g = {
112
		GetService = function(self,s)
113
			return rawget(self,s) or _rg:GetService(s)
114
		end,
115
		Players = FakeService({
116
			LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
117
		},"Players"),
118
		UserInputService = FakeService(UIS,"UserInputService"),
119
		ContextActionService = FakeService(CAS,"ContextActionService"),
120
		RunService = FakeService({
121
			_btrs = {},
122
			RenderStepped = _rg:GetService("RunService").Heartbeat,
123
			BindToRenderStep = function(self,name,_,fun)
124
				self._btrs[name] = self.Heartbeat:Connect(fun)
125
			end,
126
			UnbindFromRenderStep = function(self,name)
127
				self._btrs[name]:Disconnect()
128
			end,
129
		},"RunService")
130
	}
131
	rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
132
	g.service = g.GetService
133
	FakeService(g,game)
134
	--Changing owner to fake player object to support owner:GetMouse()
135
	game,owner = g,g.Players.LocalPlayer
136
end
137
138
warn("ok script loaded so there's moves")
139
warn("F = talking about great hardbass")
140
warn("B = away from keyboard (AFK)")
141
warn("N = back")
142
warn("changed walkspeed to 100 due to cool animation 8)")
143
warn("also removed gui cuz it was broken, enjoy now")
144
145
local Player = game.Players.localPlayer
146
local Character = Player.Character
147
local Torso = Character.Torso
148
149
local Music = Instance.new("Sound")
150
 
151
Music.Name = "Sound"
152
Music.SoundId = "http://roblox.com/asset/?id=0"
153
Music.Volume = 4
154
Music.Looped = true
155
Music.Parent = Character
156
Music:play()
157
158
hat1 = Instance.new('Hat')
159
hat1.Parent = game.Players.LocalPlayer.Character
160
161
handle = Instance.new('Part')
162
handle.Name = 'Handle'
163
handle.Parent = hat1
164
165
handlemesh = Instance.new('SpecialMesh')
166
handlemesh.MeshType = 'FileMesh'
167
handlemesh.MeshId = 'http://www.roblox.com/asset/?id=63688922'
168
handlemesh.TextureId = 'rbxassetid://63688929'
169
handlemesh.Parent = handle
170
171
GasMask = true
172
 
173
if GasMask == true then
174
o1 = Instance.new("Model")
175
o2 = Instance.new("Part")
176
o3 = Instance.new("SpecialMesh")
177
o4 = Instance.new("Part")
178
o5 = Instance.new("Part")
179
o6 = Instance.new("Part")
180
o7 = Instance.new("SpecialMesh")
181
o8 = Instance.new("Part")
182
o9 = Instance.new("Part")
183
o10 = Instance.new("SpecialMesh")
184
o11 = Instance.new("Part")
185
o12 = Instance.new("Part")
186
o13 = Instance.new("SpecialMesh")
187
o14 = Instance.new("Part")
188
o15 = Instance.new("Part")
189
o16 = Instance.new("Part")
190
o17 = Instance.new("Part")
191
o1.Name = "MODEL"
192
o2.Name = "Middle"
193
o2.Parent = o1
194
o2.BrickColor = BrickColor.new("Pastel brown")
195
o2.Transparency = 1
196
o2.Position = Vector3.new(-13.5356159, 3.71991396, 50.2649117)
197
o2.Rotation = Vector3.new(-5.66336393, -89.7626114, -5.66246414)
198
o2.Anchored = true
199
o2.FormFactor = Enum.FormFactor.Custom
200
o2.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
201
o2.CFrame = CFrame.new(-13.5356159, 3.71991396, 50.2649117, 1.75646369e-006, 1.74156298e-007, -0.999991417, -1.04150445e-007, 1, 1.60883403e-007, 0.999999762, 9.62157287e-008, 1.6223396e-006)
202
o2.BottomSurface = Enum.SurfaceType.Smooth
203
o2.TopSurface = Enum.SurfaceType.Smooth
204
o2.Color = Color3.new(1, 0.8, 0.6)
205
o3.Parent = o2
206
o3.Scale = Vector3.new(6.25, 6.25, 6.25)
207
o3.MeshType = Enum.MeshType.FileMesh
208
o4.Name = "Lense 1"
209
o4.Parent = o1
210
o4.Material = Enum.Material.Metal
211
o4.Transparency = 0.050000011920929
212
o4.Position = Vector3.new(-12.900528, 3.77991295, 50.5080605)
213
o4.Rotation = Vector3.new(-180, 20.6807137, -179.999985)
214
o4.Anchored = true
215
o4.CanCollide = false
216
o4.FormFactor = Enum.FormFactor.Custom
217
o4.Shape = Enum.PartType.Cylinder
218
o4.Size = Vector3.new(0.200000003, 0.320000023, 0.939999998)
219
o4.CFrame = CFrame.new(-12.900528, 3.77991295, 50.5080605, -0.935553849, 3.06141374e-007, 0.353159934, 3.19927466e-007, 1, 2.01617603e-008, -0.353163034, 1.1997561e-007, -0.935561478)
220
o4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
221
o4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
222
o4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
223
o4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
224
o4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
225
o4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
226
o5.Name = "Lense2"
227
o5.Parent = o1
228
o5.Material = Enum.Material.Metal
229
o5.Transparency = 0.050000011920929
230
o5.Position = Vector3.new(-12.8961124, 3.77492094, 50.0302277)
231
o5.Rotation = Vector3.new(-180, -23.8323021, -179.999985)
232
o5.Anchored = true
233
o5.CanCollide = false
234
o5.FormFactor = Enum.FormFactor.Custom
235
o5.Shape = Enum.PartType.Cylinder
236
o5.Size = Vector3.new(0.200000003, 0.330000043, 0.99000001)
237
o5.CFrame = CFrame.new(-12.8961124, 3.77492094, 50.0302277, -0.914722979, 2.85652249e-007, -0.404061079, 2.36339361e-007, 1, 1.37493373e-007, 0.404064298, 2.15865228e-008, -0.914730668)
238
o5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
239
o5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
240
o5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
241
o5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
242
o5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
243
o5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
244
o6.Name = "Handle"
245
o6.Parent = o1
246
o6.Material = Enum.Material.Metal
247
o6.BrickColor = BrickColor.new("Really black")
248
o6.Position = Vector3.new(-12.8799381, 3.69992495, 50.2599869)
249
o6.Rotation = Vector3.new(-90, 9.97842108e-006, -89.9999008)
250
o6.Anchored = true
251
o6.CanCollide = false
252
o6.FormFactor = Enum.FormFactor.Plate
253
o6.Size = Vector3.new(1, 0.400000006, 1)
254
o6.CFrame = CFrame.new(-12.8799381, 3.69992495, 50.2599869, 1.75646369e-006, 0.999991417, 1.74156298e-007, -1.04150445e-007, -1.60883403e-007, 1, 0.999999762, -1.6223396e-006, 9.62157287e-008)
255
o6.BottomSurface = Enum.SurfaceType.Weld
256
o6.TopSurface = Enum.SurfaceType.Smooth
257
o6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
258
o7.Parent = o6
259
o7.MeshId = "http://www.roblox.com/asset/?id=5158270"
260
o7.Scale = Vector3.new(0.140000001, 0.170000002, 0.100000001)
261
o7.MeshType = Enum.MeshType.FileMesh
262
o8.Name = "Straps"
263
o8.Parent = o1
264
o8.Material = Enum.Material.Fabric
265
o8.BrickColor = BrickColor.new("Really black")
266
o8.Position = Vector3.new(-13.5199518, 3.48991394, 50.2599869)
267
o8.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, 89.9999924)
268
o8.Anchored = true
269
o8.CanCollide = false
270
o8.FormFactor = Enum.FormFactor.Custom
271
o8.Shape = Enum.PartType.Cylinder
272
o8.Size = Vector3.new(0.200000003, 1.49000013, 1.25999999)
273
o8.CFrame = CFrame.new(-13.5199518, 3.48991394, 50.2599869, 1.44325043e-007, -0.999991238, 1.75646369e-006, 0.999999881, 1.31081052e-007, -1.04150445e-007, 9.48765404e-008, 1.6242019e-006, 0.999999762)
274
o8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
275
o8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
276
o8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
277
o8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
278
o8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
279
o8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
280
o8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
281
o9.Name = "Ring2"
282
o9.Parent = o1
283
o9.BrickColor = BrickColor.new("Dark stone grey")
284
o9.Position = Vector3.new(-12.8061161, 3.77991295, 49.9993477)
285
o9.Rotation = Vector3.new(-1.48261315e-005, -66.1664276, -2.4695395e-005)
286
o9.Anchored = true
287
o9.CanCollide = false
288
o9.FormFactor = Enum.FormFactor.Custom
289
o9.Size = Vector3.new(0.600000024, 0.200000003, 1)
290
o9.CFrame = CFrame.new(-12.8061161, 3.77991295, 49.9993477, 0.404059976, 1.74156298e-007, -0.914723039, -1.6136562e-007, 1, 1.0455733e-007, 0.914730787, 9.62157287e-008, 0.404063195)
291
o9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
292
o9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
293
o9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
294
o9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
295
o9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
296
o9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
297
o9.Color = Color3.new(0.388235, 0.372549, 0.384314)
298
o10.Parent = o9
299
o10.MeshId = "http://www.roblox.com/asset/?id=3270017"
300
o10.Scale = Vector3.new(0.340000004, 0.300000012, 0.300000012)
301
o10.MeshType = Enum.MeshType.FileMesh
302
o11.Name = "Straps"
303
o11.Parent = o1
304
o11.Material = Enum.Material.Fabric
305
o11.BrickColor = BrickColor.new("Really black")
306
o11.Position = Vector3.new(-13.5199518, 4.00991392, 50.2599869)
307
o11.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, 89.9999924)
308
o11.Anchored = true
309
o11.CanCollide = false
310
o11.FormFactor = Enum.FormFactor.Custom
311
o11.Shape = Enum.PartType.Cylinder
312
o11.Size = Vector3.new(0.200000003, 1.49000013, 1.25999999)
313
o11.CFrame = CFrame.new(-13.5199518, 4.00991392, 50.2599869, 1.44325043e-007, -0.999991238, 1.75646369e-006, 0.999999881, 1.31081052e-007, -1.04150445e-007, 9.48765404e-008, 1.6242019e-006, 0.999999762)
314
o11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
315
o11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
316
o11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
317
o11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
318
o11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
319
o11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
320
o11.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
321
o12.Name = "Ring1"
322
o12.Parent = o1
323
o12.BrickColor = BrickColor.new("Dark stone grey")
324
o12.Position = Vector3.new(-12.7999144, 3.76992106, 50.5299988)
325
o12.Rotation = Vector3.new(-179.999969, -69.3177338, -179.999985)
326
o12.Anchored = true
327
o12.CanCollide = false
328
o12.FormFactor = Enum.FormFactor.Custom
329
o12.Size = Vector3.new(0.600000024, 0.200000003, 1)
330
o12.CFrame = CFrame.new(-12.7999144, 3.76992106, 50.5299988, -0.353160918, 1.74156298e-007, -0.935553372, -4.22077129e-008, 1, 1.87534141e-007, 0.935561061, 9.62157287e-008, -0.353164017)
331
o12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
332
o12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
333
o12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
334
o12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
335
o12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
336
o12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
337
o12.Color = Color3.new(0.388235, 0.372549, 0.384314)
338
o13.Parent = o12
339
o13.MeshId = "http://www.roblox.com/asset/?id=3270017"
340
o13.Scale = Vector3.new(0.340000004, 0.300000012, 0.300000012)
341
o13.MeshType = Enum.MeshType.FileMesh
342
o14.Name = "Breather"
343
o14.Parent = o1
344
o14.Material = Enum.Material.Metal
345
o14.BrickColor = BrickColor.new("Really black")
346
o14.Position = Vector3.new(-12.7419596, 3.69627094, 50.2550011)
347
o14.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, -39.5510521)
348
o14.Anchored = true
349
o14.CanCollide = false
350
o14.FormFactor = Enum.FormFactor.Custom
351
o14.Shape = Enum.PartType.Cylinder
352
o14.Size = Vector3.new(0.600000024, 0.340000093, 0.25000003)
353
o14.CFrame = CFrame.new(-12.7419596, 3.69627094, 50.2550011, 0.771050453, 0.636759639, 1.75646369e-006, -0.636765182, 0.771057129, -1.04150445e-007, -1.31184265e-006, -9.5997575e-007, 0.999999762)
354
o14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
355
o14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
356
o14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
357
o14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
358
o14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
359
o14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
360
o14.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
361
o15.Name = "Breather"
362
o15.Parent = o1
363
o15.Material = Enum.Material.Metal
364
o15.BrickColor = BrickColor.new("Really black")
365
o15.Position = Vector3.new(-12.5337915, 3.51434994, 50.2550011)
366
o15.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, -39.5510521)
367
o15.Anchored = true
368
o15.CanCollide = false
369
o15.FormFactor = Enum.FormFactor.Custom
370
o15.Shape = Enum.PartType.Cylinder
371
o15.Size = Vector3.new(0.200000003, 0.340000093, 0.350000024)
372
o15.CFrame = CFrame.new(-12.5337915, 3.51434994, 50.2550011, 0.771050453, 0.636759639, 1.75646369e-006, -0.636765182, 0.771057129, -1.04150445e-007, -1.31184265e-006, -9.5997575e-007, 0.999999762)
373
o15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
374
o15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
375
o15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
376
o15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
377
o15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
378
o15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
379
o15.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
380
o16.Name = "Breather"
381
o16.Parent = o1
382
o16.Material = Enum.Material.Metal
383
o16.BrickColor = BrickColor.new("Really black")
384
o16.Position = Vector3.new(-12.7920103, 3.39220095, 49.784256)
385
o16.Rotation = Vector3.new(10.8745985, 48.2677155, -21.6106548)
386
o16.Anchored = true
387
o16.CanCollide = false
388
o16.FormFactor = Enum.FormFactor.Custom
389
o16.Shape = Enum.PartType.Cylinder
390
o16.Size = Vector3.new(0.230000019, 0.540000081, 0.75)
391
o16.CFrame = CFrame.new(-12.7920103, 3.39220095, 49.784256, 0.618847609, 0.24515225, 0.746263206, -0.230788618, 0.96486491, -0.125580132, -0.75083673, -0.0945150182, 0.653688967)
392
o16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
393
o16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
394
o16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
395
o16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
396
o16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
397
o16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
398
o16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
399
o17.Name = "Breather"
400
o17.Parent = o1
401
o17.Material = Enum.Material.Metal
402
o17.BrickColor = BrickColor.new("Really black")
403
o17.Position = Vector3.new(-12.8723783, 3.42192006, 49.8816109)
404
o17.Rotation = Vector3.new(10.8745985, 48.2677155, -21.6106548)
405
o17.Anchored = true
406
o17.CanCollide = false
407
o17.FormFactor = Enum.FormFactor.Custom
408
o17.Shape = Enum.PartType.Cylinder
409
o17.Size = Vector3.new(0.370000005, 0.540000081, 0.310000002)
410
o17.CFrame = CFrame.new(-12.8723783, 3.42192006, 49.8816109, 0.618847609, 0.24515225, 0.746263206, -0.230788618, 0.96486491, -0.125580132, -0.75083673, -0.0945150182, 0.653688967)
411
o17.BackSurface = Enum.SurfaceType.SmoothNoOutlines
412
o17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
413
o17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
414
o17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
415
o17.RightSurface = Enum.SurfaceType.SmoothNoOutlines
416
o17.TopSurface = Enum.SurfaceType.SmoothNoOutlines
417
o17.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
418
function onTouched(hit)
419
    local d = hit.Parent:GetChildren()
420
    for i=1, #d do
421
        if (d[i].className == "Hat") then
422
            d[i]:remove()
423
        end
424
    end
425
    if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Face") == nil then
426
        local g = o1:clone()
427
        g.Parent = hit.Parent
428
        local C = g:GetChildren()
429
        for i=1, #C do
430
            if C[i].className == "Part" then
431
                local W = Instance.new("Weld")
432
                W.Part0 = g.Middle
433
                W.Part1 = C[i]
434
                local CJ = CFrame.new(g.Middle.Position)
435
                local C0 = g.Middle.CFrame:inverse()*CJ
436
                local C1 = C[i].CFrame:inverse()*CJ
437
                W.C0 = C0
438
                W.C1 = C1
439
                W.Parent = g.Middle
440
                g.Middle.Transparency = 1
441
            end
442
                local Y = Instance.new("Weld")
443
                Y.Part0 = hit.Parent.Head
444
                Y.Part1 = g.Middle
445
                Y.C0 = CFrame.new(0, 0, 0)
446
                Y.Parent = Y.Part0
447
        end
448
 
449
        local h = g:GetChildren()
450
        for i = 1, # h do
451
            h[i].Anchored = false
452
            h[i].CanCollide = false
453
        end
454
       
455
    end
456
end
457
 
458
onTouched(game.Players.LocalPlayer.Character.Head)
459
end
460
local Player = game:service'Players'.localPlayer
461
local chara = Player.Character
462
      
463
	    shirt= Instance.new("Shirt", Character)
464
        shirt.Name = "Shirt"
465
        pants = Instance.new("Pants", Character)
466
        pants.Name = "Pants"
467
        chara.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1699401907"
468
        chara.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=3063981747"
469
470
m = game.Players.LocalPlayer
471
char = m.Character
472
473
function Random(num)
474
    local section=num % 1 * 3;
475
    local secondary=0.5 * math.pi * (section % 1);
476
    if section < 1 then
477
        return 1,1 - math.cos(secondary),1 - math.sin(secondary);
478
    elseif section < 2 then
479
        return 1 - math.sin(secondary),1,1 - math.cos(secondary);
480
    else
481
        return 1 - math.cos(secondary),1 - math.sin(secondary),1;
482
    end
483
end
484
485
--//Lol try to figure this one out//
486
function rainb(hue)
487
    local section = hue % 1 * 3
488
    local secondary = 0.5 * math.pi * (section % 1)
489
    if section < 1 then
490
        return Color3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary))
491
    elseif section < 2 then
492
        return Color3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary))
493
    else
494
        return Color3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1)
495
    end
496
end
497
498
Chillmusic = Instance.new("Sound", workspace)
499
Chillmusic.Parent = game.Chat
500
Chillmusic.Volume = 8
501-
Chillmusic.SoundId = "rbxassetid://2612675754"
501+
Chillmusic.SoundId = "rbxassetid://2588042474"
502
Chillmusic.Looped = true
503
Chillmusic:Play()
504
505
local txt = Instance.new("BillboardGui", char)
506
txt.Adornee = char.Head
507
txt.Name = "_status"
508
txt.Size = UDim2.new(2, 0, 1.2, 0)
509
txt.StudsOffset = Vector3.new(-9, 8, 0)
510
local text = Instance.new("TextLabel", txt)
511
text.Size = UDim2.new(10, 0, 7, 0)
512
text.FontSize = "Size24"
513
text.TextScaled = true
514
text.TextTransparency = 0
515
text.BackgroundTransparency = 1
516
text.TextTransparency = 0
517
text.TextStrokeTransparency = 0
518
text.Font = "Arcade"
519
text.TextStrokeColor3 = Color3.new(0, 0, 0)
520
v = Instance.new("Part")
521
v.Name = "ColorBrick"
522
v.Parent = m.Character
523
v.FormFactor = "Symmetric"
524
v.Anchored = true
525
v.CanCollide = false
526
v.BottomSurface = "Smooth"
527
v.TopSurface = "Smooth"
528
v.Size = Vector3.new(10, 5, 3)
529
v.Transparency = 1
530
v.CFrame = char.Torso.CFrame
531
v.BrickColor = BrickColor.new("Really black")
532
v.Transparency = 1
533
spawn(function()
534
TweenService = game:GetService("TweenService")
535
Colours = {Color3.fromRGB(0,100,200),Color3.fromRGB(4, 175, 236)}
536
Int = 0
537
while wait(2) do
538
    if Int == #Colours then Int = 0 end
539
    Int = Int+1
540
    TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
541
end
542
end)
543
v.Shape = "Block"
544-
text.Text = "~Boris~"
544+
text.Text = "~Trip~"
545
Player = game:GetService("Players").LocalPlayer
546
Character = Player.Character
547
PlayerGui = Player.PlayerGui
548
Backpack = Player.Backpack
549
Torso = Character.Torso
550
Head = Character.Head
551
Humanoid = Character.Humanoid
552
m = Instance.new("Model", Character)
553
LeftArm = Character["Left Arm"]
554
LeftLeg = Character["Left Leg"]
555
RightArm = Character["Right Arm"]
556
RightLeg = Character["Right Leg"]
557
LS = Torso["Left Shoulder"]
558
LH = Torso["Left Hip"]
559
RS = Torso["Right Shoulder"]
560
RH = Torso["Right Hip"]
561
Face = Head.face
562
Neck = Torso.Neck
563
it = Instance.new
564
attacktype = 1
565
vt = Vector3.new
566
cf = CFrame.new
567
bc = BrickColor.new
568
br = BrickColor.random
569
it = Instance.new
570
euler = CFrame.fromEulerAnglesXYZ
571
angles = CFrame.Angles
572
cloaked = false
573
necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
574
necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
575
LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
576
LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
577
RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
578
RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
579
RootPart = Character.HumanoidRootPart
580
RootJoint = RootPart.RootJoint
581
RootCF = euler(-1.57, 0, 3.14)
582
attack = false
583
attackdebounce = false
584
equipped = false
585
trispeed = 0.2
586
attackmode = "none"
587
local idle = 0
588
local Anim = "Idle"
589
Head.face.Texture = "rbxassetid://206844132"
590
591
local Trail = Instance.new("Trail",char)
592
local attachment0 = Instance.new("Attachment",char["Right Arm"])
593
attachment0.Name = "TrailAttachment0"
594
attachment0.CFrame = CFrame.new(-0.25,-1,0)
595
local attachment1 = Instance.new("Attachment",char["Right Arm"])
596
attachment1.CFrame = CFrame.new(0.25,-1,0)
597
attachment1.Name = "TrailAttachment1"
598
Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
599
Trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,0,0)),ColorSequenceKeypoint.new(0.2,Color3.new(1,1,0)),ColorSequenceKeypoint.new(0.4,Color3.new(0,1,0)),ColorSequenceKeypoint.new(0.6,Color3.new(0,1,1)),ColorSequenceKeypoint.new(0.8,Color3.new(0,0,1)),ColorSequenceKeypoint.new(1,Color3.new(0,0,1))})
600
Trail.Lifetime = 0.5
601
Trail.Attachment0 = attachment0
602
Trail.Attachment1 = attachment1
603
604
local Trail = Instance.new("Trail",char)
605
local attachment0 = Instance.new("Attachment",char["Left Arm"])
606
attachment0.Name = "TrailAttachment0"
607
attachment0.CFrame = CFrame.new(-0.25,-1,0)
608
local attachment1 = Instance.new("Attachment",char["Left Arm"])
609
attachment1.CFrame = CFrame.new(0.25,-1,0)
610
attachment1.Name = "TrailAttachment1"
611
Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
612
Trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,0,0)),ColorSequenceKeypoint.new(0.2,Color3.new(1,1,0)),ColorSequenceKeypoint.new(0.4,Color3.new(0,1,0)),ColorSequenceKeypoint.new(0.6,Color3.new(0,1,1)),ColorSequenceKeypoint.new(0.8,Color3.new(0,0,1)),ColorSequenceKeypoint.new(1,Color3.new(0,0,1))})
613
Trail.Lifetime = 0.5
614
Trail.Attachment0 = attachment0
615
Trail.Attachment1 = attachment1
616
617
local Trail = Instance.new("Trail",char)
618
local attachment0 = Instance.new("Attachment",char["Right Leg"])
619
attachment0.Name = "TrailAttachment0"
620
attachment0.CFrame = CFrame.new(-0.25,-1,0)
621
local attachment1 = Instance.new("Attachment",char["Right Leg"])
622
attachment1.CFrame = CFrame.new(0.25,-1,0)
623
attachment1.Name = "TrailAttachment1"
624
Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
625
Trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,0,0)),ColorSequenceKeypoint.new(0.2,Color3.new(1,1,0)),ColorSequenceKeypoint.new(0.4,Color3.new(0,1,0)),ColorSequenceKeypoint.new(0.6,Color3.new(0,1,1)),ColorSequenceKeypoint.new(0.8,Color3.new(0,0,1)),ColorSequenceKeypoint.new(1,Color3.new(0,0,1))})
626
Trail.Lifetime = 0.5
627
Trail.Attachment0 = attachment0
628
Trail.Attachment1 = attachment1
629
630
local Trail = Instance.new("Trail",char)
631
local attachment0 = Instance.new("Attachment",char["Left Leg"])
632
attachment0.Name = "TrailAttachment0"
633
attachment0.CFrame = CFrame.new(-0.25,-1,0)
634
local attachment1 = Instance.new("Attachment",char["Left Leg"])
635
attachment1.CFrame = CFrame.new(0.25,-1,0)
636
attachment1.Name = "TrailAttachment1"
637
Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
638
Trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,0,0)),ColorSequenceKeypoint.new(0.2,Color3.new(1,1,0)),ColorSequenceKeypoint.new(0.4,Color3.new(0,1,0)),ColorSequenceKeypoint.new(0.6,Color3.new(0,1,1)),ColorSequenceKeypoint.new(0.8,Color3.new(0,0,1)),ColorSequenceKeypoint.new(1,Color3.new(0,0,1))})
639
Trail.Lifetime = 0.5
640
Trail.Attachment0 = attachment0
641
Trail.Attachment1 = attachment1
642
643
644
Humanoid.Animator.Parent = nil
645
Character.Animate.Parent = nil
646
function FindNearestTorso(Position, Distance, SinglePlayer)
647
	if SinglePlayer then
648
		return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
649
	end
650
	local List = {}
651
	for i, v in pairs(workspace:GetChildren()) do
652
		if v:IsA("Model") and v:findFirstChild("Torso") and v ~= Character and Distance >= (v.Torso.Position - Position).magnitude then
653
			table.insert(List, v)
654
		end
655
	end
656
	return List
657
end
658
function lerp(a, b, t)
659
	return a + (b - a) * t
660
end
661
function slerp(a, b, t)
662
	dot = a:Dot(b)
663
	if dot > 0.99999 or dot < -0.99999 then
664
		return t <= 0.5 and a or b
665
	else
666
		r = math.acos(dot)
667
		return (a * math.sin((1 - t) * r) + b * math.sin(t * r)) / math.sin(r)
668
	end
669
end
670
function matrixInterpolate(a, b, t)
671
	local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
672
	local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
673
	local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx, by, bz), t)
674
	local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t)
675
	local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t)
676
	local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t)
677
	local t = v1:Dot(v2)
678
	if not (t < 0) and t ~= 0 and not (t > 0) then
679
		return CFrame.new()
680
	end
681
	return CFrame.new(v0.x, v0.y, v0.z, v1.x, v1.y, v1.z, v2.x, v2.y, v2.z, v3.x, v3.y, v3.z)
682
end
683
function genWeld(a, b)
684
	local w = Instance.new("Weld", a)
685
	w.Part0 = a
686
	w.Part1 = b
687
	return w
688
end
689
function weld(a, b)
690
	local weld = Instance.new("Weld")
691
	weld.Name = "W"
692
	weld.Part0 = a
693
	weld.Part1 = b
694
	weld.C0 = a.CFrame:inverse() * b.CFrame
695
	weld.Parent = a
696
	return weld
697
end
698
function Lerp(c1, c2, al)
699
	local com1 = {
700
		c1.X,
701
		c1.Y,
702
		c1.Z,
703
		c1:toEulerAnglesXYZ()
704
	}
705
	local com2 = {
706
		c2.X,
707
		c2.Y,
708
		c2.Z,
709
		c2:toEulerAnglesXYZ()
710
	}
711
	for i, v in pairs(com1) do
712
		com1[i] = v + (com2[i] - v) * al
713
	end
714
	return CFrame.new(com1[1], com1[2], com1[3]) * CFrame.Angles(select(4, unpack(com1)))
715
end
716
function clerp(a, b, t)
717
	local qa = {
718
		QuaternionFromCFrame(a)
719
	}
720
	local qb = {
721
		QuaternionFromCFrame(b)
722
	}
723
	local ax, ay, az = a.x, a.y, a.z
724
	local bx, by, bz = b.x, b.y, b.z
725
	local _t = 1 - t
726
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
727
end
728
function QuaternionFromCFrame(cf)
729
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
730
	local trace = m00 + m11 + m22
731
	if trace > 0 then
732
		local s = math.sqrt(1 + trace)
733
		local recip = 0.5 / s
734
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
735
	else
736
		local i = 0
737
		if m00 < m11 then
738
			i = 1
739
		end
740
		if m22 > (i == 0 and m00 or m11) then
741
			i = 2
742
		end
743
		if i == 0 then
744
			local s = math.sqrt(m00 - m11 - m22 + 1)
745
			local recip = 0.5 / s
746
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
747
		elseif i == 1 then
748
			local s = math.sqrt(m11 - m22 - m00 + 1)
749
			local recip = 0.5 / s
750
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
751
		elseif i == 2 then
752
			local s = math.sqrt(m22 - m00 - m11 + 1)
753
			local recip = 0.5 / s
754
			return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
755
		end
756
	end
757
end
758
function QuaternionToCFrame(px, py, pz, x, y, z, w)
759
	local xs, ys, zs = x + x, y + y, z + z
760
	local wx, wy, wz = w * xs, w * ys, w * zs
761
	local xx = x * xs
762
	local xy = x * ys
763
	local xz = x * zs
764
	local yy = y * ys
765
	local yz = y * zs
766
	local zz = z * zs
767
	return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
768
end
769
function QuaternionSlerp(a, b, t)
770
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
771
	local startInterp, finishInterp
772
	if cosTheta >= 1.0E-4 then
773
		if 1 - cosTheta > 1.0E-4 then
774
			local theta = math.acos(cosTheta)
775
			local invSinTheta = 1 / math.sin(theta)
776
			startInterp = math.sin((1 - t) * theta) * invSinTheta
777
			finishInterp = math.sin(t * theta) * invSinTheta
778
		else
779
			startInterp = 1 - t
780
			finishInterp = t
781
		end
782
	elseif 1 + cosTheta > 1.0E-4 then
783
		local theta = math.acos(-cosTheta)
784
		local invSinTheta = 1 / math.sin(theta)
785
		startInterp = math.sin((t - 1) * theta) * invSinTheta
786
		finishInterp = math.sin(t * theta) * invSinTheta
787
	else
788
		startInterp = t - 1
789
		finishInterp = t
790
	end
791
	return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
792
end
793
function rayCast(Pos, Dir, Max, Ignore)
794
	return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
795
end
796
function part(formfactor, parent, reflectance, transparency, brickcolor, name, size)
797
	local fp = it("Part")
798
	fp.formFactor = formfactor
799
	fp.Parent = parent
800
	fp.Reflectance = reflectance
801
	fp.Transparency = transparency
802
	fp.CanCollide = false
803
	fp.Locked = true
804
	fp.BrickColor = brickcolor
805
	fp.Name = name
806
	fp.Size = size
807
	fp.Position = Torso.Position
808
	fp.BottomSurface = "Smooth"
809
	fp.TopSurface = "Smooth"
810
	fp:BreakJoints()
811
	return fp
812
end
813
function mesh(Mesh, part, meshtype, meshid, offset, scale)
814
	local mesh = it(Mesh)
815
	mesh.Parent = part
816
	if Mesh == "SpecialMesh" then
817
		mesh.MeshType = meshtype
818
		mesh.MeshId = meshid
819
	end
820
	mesh.Offset = offset
821
	mesh.Scale = scale
822
	return mesh
823
end
824
function weld(parent, part0, part1, c0)
825
	local weld = it("Weld")
826
	weld.Parent = parent
827
	weld.Part0 = part0
828
	weld.Part1 = part1
829
	weld.C0 = c0
830
	return weld
831
end
832
function rayCast(Pos, Dir, Max, Ignore)
833
	return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
834
end
835
RSH, LSH = nil, nil
836
RW, LW = Instance.new("Weld"), Instance.new("Weld")
837
RW.Name = "Right Shoulder"
838
LW.Name = "Left Shoulder"
839
LH = Torso["Left Hip"]
840
RH = Torso["Right Hip"]
841
TorsoColor = Torso.BrickColor
842
function NoOutline(Part)
843
	Part.TopSurface, Part.BottomSurface, Part.LeftSurface, Part.RightSurface, Part.FrontSurface, Part.BackSurface = 10, 10, 10, 10, 10, 10
844
end
845
player = Player
846
ch = Character
847
RSH = ch.Torso["Right Shoulder"]
848
LSH = ch.Torso["Left Shoulder"]
849
RSH.Parent = nil
850
LSH.Parent = nil
851
RW.Name = "Right Shoulder"
852
RW.Part0 = ch.Torso
853
RW.C0 = cf(1.5, 0.5, 0)
854
RW.C1 = cf(0, 0.5, 0)
855
RW.Part1 = ch["Right Arm"]
856
RW.Parent = ch.Torso
857
LW.Name = "Left Shoulder"
858
LW.Part0 = ch.Torso
859
LW.C0 = cf(-1.5, 0.5, 0)
860
LW.C1 = cf(0, 0.5, 0)
861
LW.Part1 = ch["Left Arm"]
862
LW.Parent = ch.Torso
863
function newWeld(wp0, wp1, wc0x, wc0y, wc0z)
864
	local wld = Instance.new("Weld", wp1)
865
	wld.Part0 = wp0
866
	wld.Part1 = wp1
867
	wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
868
end
869
newWeld(RootPart, Torso, 0, -1, 0)
870
Torso.Weld.C1 = CFrame.new(0, -1, 0)
871
newWeld(Torso, LeftLeg, -0.5, -1, 0)
872
LeftLeg.Weld.C1 = CFrame.new(0, 1, 0)
873
newWeld(Torso, RightLeg, 0.5, -1, 0)
874
RightLeg.Weld.C1 = CFrame.new(0, 1, 0)
875
Player = game:GetService("Players").LocalPlayer
876
Character = Player.Character
877
mouse = Player:GetMouse()
878
m = Instance.new("Model", Character)
879
local weldBetween = function(a, b)
880
	local weldd = Instance.new("ManualWeld")
881
	weldd.Part0 = a
882
	weldd.Part1 = b
883
	weldd.C0 = CFrame.new()
884
	weldd.C1 = b.CFrame:inverse() * a.CFrame
885
	weldd.Parent = a
886
	return weldd
887
end
888
ArtificialHB = Instance.new("BindableEvent", script)
889
ArtificialHB.Name = "Heartbeat"
890
script:WaitForChild("Heartbeat")
891
frame = 0.016666666666666666
892
tf = 0
893
allowframeloss = false
894
tossremainder = false
895
lastframe = tick()
896
script.Heartbeat:Fire()
897
game:GetService("RunService").Heartbeat:connect(function(s, p)
898
	tf = tf + s
899
	if tf >= frame then
900
		if allowframeloss then
901
			script.Heartbeat:Fire()
902
			lastframe = tick()
903
		else
904
			for i = 1, math.floor(tf / frame) do
905
				script.Heartbeat:Fire()
906
			end
907
			lastframe = tick()
908
		end
909
		if tossremainder then
910
			tf = 0
911
		else
912
			tf = tf - frame * math.floor(tf / frame)
913
		end
914
	end
915
end)
916
function swait(num)
917
	if num == 0 or num == nil then
918
		ArtificialHB.Event:wait()
919
	else
920
		for i = 0, num do
921
			ArtificialHB.Event:wait()
922
		end
923
	end
924
end
925
mouse.KeyDown:connect(function(key)
926
	if key == "f" then
927-
		text.Text = "~Heard about hard bass?~"
927+
		text.Text = "Heard about hard bass?"
928-
		wait(2)
928+
929
		text.Text = "No?"
930
		wait(1)
931-
		text.Text = "~Okay then.~"
931+
		text.Text = "Okay then."
932-
		wait(2)
932+
933-
		text.Text = "~But you gotta listen for this music~"
933+
		text.Text = "But you gotta listen for this music"
934-
		wait(2)
934+
935-
		text.Text = "~Hard bass is the best.~"
935+
		text.Text = "Hard bass is the best."
936
		wait(1)
937-
		text.Text = "~Maybe if you were listening to it you wouldn't be a skid...~"
937+
		text.Text = "Maybe if you were listening to it you wouldn't be a skid..."
938
		wait(3)
939-
		text.Text = "~But some people cant handle the power of hard bass~"
939+
		text.Text = "But some people cant handle the power of hard bass"
940
		wait(3)
941
		text.Text = "~Boris~"
942
	end
943
end)
944
mouse.KeyDown:connect(function(key)
945
	if key == "b" then
946-
		text.Text = "~Boris away from keyboard~"
946+
		text.Text = Trip away from keyboard"
947
		wait(1)
948-
		text.Text = "~Afk Boris~"
948+
		text.Text = "Afk Trip"
949
	end
950
end)
951
mouse.KeyDown:connect(function(key)
952
	if key == "n" then
953-
		text.Text = "~K im back~"
953+
		text.Text = "K im back"
954
		wait(1)
955
		text.Text = "~Boris~"
956
	end
957
end)
958
m = Instance.new("ForceField", Character)
959
m.Visible = false
960
Character.Humanoid.WalkSpeed = 100
961
mouse.KeyDown:connect(function(key)
962
	if string.byte(key) == 48 then
963
		Swing = 2
964
		Character.Humanoid.WalkSpeed = 100
965
	end
966
end)
967
mouse.KeyUp:connect(function(key)
968
	if string.byte(key) == 48 then
969
		Swing = 1
970
		Character.Humanoid.WalkSpeed = 100
971
	end
972
end)
973
local sine = 0
974
local change = 1
975
local val = 0
976
spawn(function()
977
while true do
978
	swait()
979
	sine = sine + change
980
	local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
981
	local velderp = RootPart.Velocity.y
982
	hitfloor, posfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
983
	if equipped == true or equipped == false then
984
		if attack == false then
985
			idle = idle + 1
986
			Character.Humanoid.MaxHealth = math.huge
987
			Character.Humanoid.Health = math.huge
988
		else
989
			idle = 0
990
		end
991
		if not (idle >= 500) or attack == false then
992
		end
993
		if torvel < 1 and hitfloor ~= nil then
994
			Anim = "Chill"
995
			if attack == false then
996
				Humanoid.CameraOffset = Vector3.new(0, 10.25 - 5.45 * math.cos(sine / 65), 0)
997
				Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 10.25 - 5.45 * math.cos(sine / 65), 0) * CFrame.Angles(math.rad(90 + 15 * math.sin(sine / 60)), math.rad(0), math.rad(0)), 0.8)
998
				Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20 + 20 * math.cos(sine / 60)), math.rad(0 + 4 * math.sin(sine / 60)), math.rad(0)), 0.2)
999
				RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-90 + 25 * math.cos(sine / 60)), math.rad(0 + 20 * math.sin(sine / 60)), math.rad(0 + 55 * math.sin(sine / 60))), 0.3)
1000
				LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-90 + 25 * math.cos(sine / 60)), math.rad(-20 - 20 * math.sin(sine / 60)), math.rad(0 - 55 * math.sin(sine / 60))), 0.3)
1001
				LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -0.86 + 0.03 * math.cos(sine / 65), -0.4) * CFrame.Angles(math.rad(15 - 45 * math.cos(sine / 70)), math.rad(3), math.rad(-4)), 0.8)
1002
				RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1 + 0.05 * math.cos(sine / 65), -0.4) * CFrame.Angles(math.rad(15 - 35 * math.cos(sine / 65)), math.rad(-3), math.rad(4)), 0.8)
1003
			end
1004
		elseif torvel > 2 and torvel < 22 and hitfloor ~= nil then
1005
			Anim = "Walk"
1006
			if attack == false then
1007
				Humanoid.CameraOffset = Vector3.new(0, 6 - 2.55 * math.cos(sine / 48.5), 0)
1008
				RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), 0.2)
1009
				Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 6 - 2.55 * math.cos(sine / 48.5), 0) * CFrame.Angles(math.rad(-90 + 5 * math.cos(sine / 45)), math.rad(180 * math.cos(sine / 48.5)), math.rad(0)), 0.8)
1010
				Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-4 + 2 * math.sin(sine / 48)), math.rad(0), math.rad(0)), 0.2)
1011
				RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + 0.1 * math.cos(sine / 45), 0) * angles(math.rad(90), math.rad(0), math.rad(90 - 20.5 * math.cos(sine / 45))), 0.3)
1012
				LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + 0.1 * math.cos(sine / 45), 0) * angles(math.rad(90), math.rad(0), math.rad(-90 + 20.5 * math.cos(sine / 45))), 0.3)
1013
				LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1 - 0.05 * math.cos(sine / 45), 0) * CFrame.Angles(math.rad(0), math.rad(3), math.rad(-4)), 0.8)
1014
				RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1 + 0.05 * math.cos(sine / 45), 0) * CFrame.Angles(math.rad(0), math.rad(-3), math.rad(4)), 0.8)
1015
			end
1016
		elseif torvel >= 22 and hitfloor ~= nil then
1017
			Anim = "Run"
1018
			if attack == false then
1019
				Humanoid.CameraOffset = Vector3.new(0, 6 - 1.55 * math.cos(sine / 68.5), 0)
1020
				RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 6 - 1.55 * math.cos(sine / 68.5), -0.2) * angles(math.rad(50), math.rad(0), math.rad(0)), 0.2)
1021
				Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 6 - 1.55 * math.cos(sine / 68.5), 0) * CFrame.Angles(math.rad(-40 + 20 * math.sin(sine / 68.5)), 0, 0), 0.8)
1022
				Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-12 + 17 * math.cos(sine / 68.5)), math.rad(0), math.rad(0)), 0.2)
1023
				RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-90), math.rad(0), math.rad(40 - 20 * math.cos(sine / 68.5))), 0.2)
1024
				LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-90), math.rad(0), math.rad(-40 + 20 * math.cos(sine / 68.5))), 0.2)
1025
				LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -0.87, -0.25) * CFrame.Angles(math.rad(-45 - 10 * math.cos(sine / 68.5)), math.rad(0), math.rad(0)), 0.8)
1026
				RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1, -0.1) * CFrame.Angles(math.rad(-35 - 10 * math.cos(sine / 68.5)), math.rad(0), math.rad(0)), 0.8)
1027
			end
1028
		end
1029
	end
1030
end
1031
end)