View difference between Paste ID: qTTmei0H and wmmZJP9G
SHOW: | | - or go back to the newest paste.
1
-- This script has been converted to FE by iPxter
2
3
4
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
5
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
6
do
7
	print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
8
	script.Parent = Player.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,Connect=function(self,f)self.Function=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()}
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 and t.Function then
34
			t.Function(...)
35
		end
36
	end
37
	m.TrigEvent = te
38
	UIS.TrigEvent = te
39
40
	Event.OnServerEvent:Connect(function(plr,io)
41
	    if plr~=Player then return end
42
		if io.isMouse then
43
			m.Target = io.Target
44
			m.Hit = io.Hit
45
		else
46
			local b = io.UserInputState == Enum.UserInputState.Begin
47
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
48
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
49
			end
50
			for _,t in pairs(CAS.Actions) do
51
				for _,k in pairs(t.Keys) do
52
					if k==io.KeyCode then
53
						t.Function(t.Name,io.UserInputState,io)
54
					end
55
				end
56
			end
57
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
58
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
59
	    end
60
	end)
61
	Event.Parent = NLS([==[
62
	local Player = game:GetService("Players").LocalPlayer
63
	local Event = script:WaitForChild("UserInput_Event")
64
65
	local UIS = game:GetService("UserInputService")
66
	local input = function(io,a)
67
		if a then return end
68
		--Since InputObject is a client-side instance, we create and pass table instead
69
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
70
	end
71
	UIS.InputBegan:Connect(input)
72
	UIS.InputEnded:Connect(input)
73
74
	local Mouse = Player:GetMouse()
75
	local h,t
76
	--Give the server mouse data 30 times every second, but only if the values changed
77
	--If player is not moving their mouse, client won't fire events
78
	while wait(1/30) do
79
		if h~=Mouse.Hit or t~=Mouse.Target then
80
			h,t=Mouse.Hit,Mouse.Target
81
			Event:FireServer({isMouse=true,Target=t,Hit=h})
82
		end
83
	end]==],Player.Character)
84
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
85
end
86
87
-- P̦̻͉̞̭̤̈́̋̎ͨͭo̞̅͊̑͆́͊̚ô̳̭̭̯͈̳͛ͣc̪͍̼͓͔̈ͪ͒ͤ̚h̲̝̭̤ͫ̐ͥ̋̀ḙ̠̩̠̩͉̹͓͂̿̌̾̄̂ͅ ̫̩͇̠̖̫̣͉̆͒a̯̫̺̘̱ͮ̿̆̾͂ṋ̹̝̟̞̠̩̀ͨ̐̍̋ͅd͔̫̓͋ ͔̟̙̘͎̘͎̞ͩP͙̰̰͇̭͓͈̞ͯͩ̓̇ͬ͊ͅa̬̤̣̓̃̊͑ͣn̳̜͋͂̽ͯͨs̫̞̬͙͕͕̥̮͉̋y̯͙͓̳̻̣̳̭ͦ̈́̒͌ͪ:̫͕̝̻̿ͨ ̟͇̣̜̹͉̊̂̚P̺͇̦͇͓̟͐̉̌̈͂ő̮̥͈̱̠̪̺̄̽ͪ̾̆͐̋̓ȯ̤͖̜͙̭̮̦͐c͔̞͍̟̳͉̺͚ͣͤ̌̔͗͗h̲̲͍̭̭͔̄̓͒̃ͅe̩̠͚͔̽͐ͣ ͎̩̫͇͖̙̲̍̓͒ͫ̑̃͆̌t͖̜̹̯͈̯͇̙̊̀ͅh͓͍̻̻̤̺̺͆͗ͤ̓̊e͈̦̲͈͉̙̎̿͌͊͊̓ ̣̤͈̔͑́ͦ̌d͔͈̞̺ͫ̉̐ͬ̋ô̹̗̱̲̖͆ͪ͐̍̍͒ͦg͓͍̝̬̦̑͐ͥ̃̐͑́ͭ͐
88
-- by Josemmoya
89
--~Despacito lord#2929
90
-- why THE HELL DID I MAKE THIS
91
warn([[
92
CONTROLS:
93
e - makes u invisible
94
r - working on it
95
]])
96
plr = owner
97
repeat wait() until plr.Character
98
char = plr.Character
99
100
101
local music = Instance.new("Sound",char)
102-
music.SoundId = "rbxassetid://199974298"
102+
music.SoundId = "rbxassetid://1110421128"
103
music.TimePosition = 3
104
music.Volume = 10
105
music:Play()
106
music.Looped = true
107
108
skin_Color = BrickColor.new("Rust")
109
110
local Weapon = Instance.new("Model",char)
111
Weapon.Name = "Knife"
112
local Part0 = Instance.new("Part",Weapon)
113
Part0.Name = "Handle"
114
Part0.Size = Vector3.new(0.37, 0.57, 0.88)
115
Part0.BrickColor = BrickColor.new("Really black")
116
Part0.CanCollide = false
117
Part0.Material = Enum.Material.SmoothPlastic
118
local Part1 = Instance.new("Part",Weapon)
119
Part1.Name = "TopKnife"
120
Part1.BrickColor = BrickColor.new("Really red")
121
Part1.Material = Enum.Material.Neon
122
Part1.CanCollide = false
123
Part1.Size = Vector3.new(0.37, 0.57, 2.07)
124
local Particle = Instance.new("ParticleEmitter",Part1)
125
Particle.Lifetime = NumberRange.new(0.3)
126
Particle.Color = ColorSequence.new(BrickColor.new("Really red").Color)
127
Particle.LockedToPart = true
128
Particle.Speed = NumberRange.new(0)
129
Particle.Rate = math.huge
130
local Part2 = Instance.new("WedgePart",Weapon)
131
Part2.Size = Vector3.new(0.36, 0.6, 1.14)
132
Part2.Material = Enum.Material.Neon
133
Part2.BrickColor = BrickColor.new("Really red")
134
Part2.CanCollide = false
135
Part2.Name = "WedgeForTopKnife"
136
local weld = Instance.new("Weld",Part0)
137
weld.Part0 = Part0
138
weld.Part1 = Part1
139
weld.C0 = CFrame.new(0, 0, 1.4406805, 1, 0, 0, 0, 1, 0, 0, 0, 1)
140
local wweld = Instance.new("Weld",Part1)
141
wweld.Part0 = Part1
142
wweld.Part1 = Part2
143
wweld.C0 = CFrame.new(0.00241553783, -0.0223271549, 1.57767344, 1, 0, 0, 0, -0.999996781, -0.0025379993, 0, 0.0025379993, -0.999996781)
144
local wwweld = Instance.new("Weld",char["Right Arm"])
145
wwweld.Part0 = char["Right Arm"]
146
wwweld.Part1 = Part0
147
wwweld.C0 = CFrame.new(0.0283082724, -1.16673839, -0.0630893707, -0.998895764, 0, -0.0469819903, 0, 0.999999881, 0, 0.0469819903, 0, -0.998895764)
148
local Part3 = Instance.new("Part",Weapon)
149
Part3.CanCollide = false
150
Part3.Size = Vector3.new(0.53, 0.8, 3.25)
151
Part3.Transparency = 1
152
Part3.Name = "Hitbox"
153
local trailattach0 = Instance.new("Attachment",Part3)
154
trailattach0.Position = Vector3.new(0, -0.311, -0.208)
155
trailattach0.Orientation = Vector3.new(0, 0, -96.727)
156
local trailattach1 = Instance.new("Attachment",Part3)
157
trailattach1.Position = Vector3.new(0.111, -0.352, 1.462)
158
trailattach1.Orientation = Vector3.new(0, 0, -90.415)
159
local trail = Instance.new("Trail",Part3)
160
trail.Name = "WeaponTrail"
161
trail.Color = ColorSequence.new(BrickColor.new("Really red").Color)
162
trail.Lifetime = 0.5
163
trail.Attachment0 = trailattach0
164
trail.Attachment1 = trailattach1
165
local wwwweld = Instance.new("Weld",Part0)
166
wwwweld.Part0 = Part0
167
wwwweld.Part1 = Part3
168
wwwweld.C0 = CFrame.new(-0.00386536121, -0.0567215681, 2.06630421, -0.998895764, 0, 0.0469819903, 0, 0.999999762, 0, -0.0469819903, 0, -0.998895764)
169
170
171
172
173
174
plr:ClearCharacterAppearance()
175
local Hair = Instance.new("Part",char)
176
Hair.CanCollide = false
177
local Hairm = Instance.new("FileMesh",Hair)
178
Hairm.MeshId = "http://www.roblox.com/asset/?id=10871984"
179
Hairm.TextureId = "http://www.roblox.com/asset/?id=10871968"
180
local Hairw = Instance.new("Weld",Hair)
181
Hairw.Part0 = Hair
182
Hairw.Part1 = char.Head
183
Hairw.C0 = CFrame.new(0, -0.200000286, 0, 1, -2.96657507e-08, -8.07689048e-07, 2.96659675e-08, 1, 2.69079379e-07, 8.07689048e-07, -2.69079379e-07, 1)
184
CanUse = false
185
issprinting = false
186
function onKeyDown(Key)
187
    if Key:lower() == "r" then
188
warn("WIP")
189
end
190
end
191
function Sprint(Key)
192
	if Key == "e" then
193
		char.Humanoid.WalkSpeed = 60
194
		trail.Enabled = false
195
		music:Pause()
196
		issprinting = true
197
		Particle.Transparency = NumberSequence.new(1)
198
		for i = 1,10 do
199
			for i,v in pairs(char:GetChildren()) do
200
				if v.ClassName == "Part" then
201
					v.Transparency = v.Transparency + 1
202
				end
203
			end
204
			Part0.Transparency = Part0.Transparency + 1
205
			Part1.Transparency = Part1.Transparency + 1
206
			Part2.Transparency = Part2.Transparency + 1
207
			Part3.Transparency = Part3.Transparency + 1
208
		    wait()
209
		end
210
	end
211
end
212
function StopSprinting(Key)
213
	if Key == "e" then
214
		char.Humanoid.WalkSpeed = 16
215
		trail.Enabled = true
216
		music:Resume()
217
		Particle.Transparency = NumberSequence.new(0)
218
		issprinting = false
219
		for i = 1,10 do
220
			for i,v in pairs(char:GetChildren()) do
221
				if v.ClassName == "Part" then
222
					v.Transparency = v.Transparency - 1
223
				end
224
			end
225
			Part0.Transparency = Part0.Transparency - 1
226
			Part1.Transparency = Part1.Transparency - 1
227
			Part2.Transparency = Part2.Transparency - 1
228
			Part3.Transparency = Part3.Transparency - 1
229
			wait()
230
		end
231
	end
232
end
233
local naeeym2 = Instance.new("BillboardGui",char)
234
naeeym2.AlwaysOnTop = true
235
naeeym2.Size = UDim2.new(5,35,2,35)
236
naeeym2.StudsOffset = Vector3.new(0,2,0)
237
naeeym2.Adornee = hed
238
naeeym2.Name = "Name"
239
 
240
local tecks2 = Instance.new("TextLabel",naeeym2)
241
tecks2.BackgroundTransparency = 1
242
tecks2.TextScaled = true
243
tecks2.BorderSizePixel = 0
244
tecks2.Text = "Pooche"
245
tecks2.Font = "Garamond"
246
tecks2.TextSize = 30
247
tecks2.TextStrokeTransparency = 0
248
tecks2.TextColor3 = BrickColor.new('Really red').Color
249
tecks2.TextStrokeColor3 = BrickColor.new('Really red').Color
250
tecks2.Size = UDim2.new(1,0,0.5,0)
251
tecks2.Parent = naeeym2
252
textfag = tecks2
253
tecks2.Text = "Pooche"
254
function swait(num)
255
    if num == 0 or num == nil then
256
        game:service("RunService").Stepped:wait(0)
257
    else
258
        for i = 0, num do
259
            game:service("RunService").Stepped:wait(0)
260
        end
261
    end
262
end
263
coroutine.resume(coroutine.create(function()
264
    while textfag ~= nil do
265
        swait()
266
        textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))  
267
        textfag.Rotation = math.random(-3,3)
268
    end
269
end))
270
mouse.KeyDown:connect(Sprint)
271
mouse.KeyUp:connect(StopSprinting)
272
canattack = false
273
local anim = Instance.new("Animation",char.Humanoid)
274
anim.AnimationId = "rbxassetid://186934658"
275
local ranim = char.Humanoid:LoadAnimation(anim)
276
local hit = Instance.new("Sound",char)
277
hit.SoundId = "rbxassetid://388826051"
278
hit.Volume = 4
279
Part3.Touched:connect(function(part)
280
	local human = part.Parent:FindFirstChildOfClass("Humanoid")
281
	if human and human.Parent.Name ~= char.Name and canattack then
282
		human.Health = 0
283
		hit:Play()
284
	end
285
end)
286
local sound = Instance.new("Sound",char)
287
sound.SoundId = "rbxassetid://357417055"
288
sound.Volume = 4
289
function ATTACK()
290
	ranim:Play()
291
	sound:Play()
292
	canattack = true
293
	wait(.6)
294
	canattack = false
295
end
296
mouse.Button1Down:connect(ATTACK)
297
while true do
298
	wait()
299
	if music.Parent == nil then
300
		music.Parent = char
301
	end
302
	for i,v in pairs(char:GetChildren()) do
303
		if v.ClassName == "Part" then
304
			v.BrickColor = skin_Color
305
		end
306
	end
307
	canglitch = math.random(1,15)
308
	if canglitch == 1 and issprinting then
309-
		char.Head.face.Texture = "rbxassetid://340867792"
309+
		char.Head.face.Texture = "rbxassetid://2436962055"
310
		tecks2.Text = "Pooche"
311
	elseif canglitch == 2 and not issprinting then
312-
		char.Head.face.Texture = "rbxassetid://340867792"
312+
		char.Head.face.Texture = "rbxassetid://2436962055"
313
        namemath = math.random(1,5)
314
        if namemath == 1 then
315
	      tecks2.Text = "=)"
316
        end
317
        if namemath == 2 then
318
	    tecks2.Text = "D̈̔ͥ͛̾҉̩͇̲̭̺̤̖̦i̢̢̥̦̗͈̰̜͔̦͐̂͢e͖͚̳ͨ̀̚͜"
319
        end
320
        if namemath == 3 then
321
	    tecks2.Text = "..."
322
        end
323
        if namemath == 4 then
324
	    tecks2.Text = "No forgiving"
325
        end
326
        if namemath == 5 then
327
	    tecks2.Text = "Youre alone"
328
        end
329
if namemath == 6 then
330
	    tecks2.Text = "Trying to reach you =)"
331
        end
332
333
		music:Pause()
334
		wait()
335
		music:Resume()
336-
		char.Head.face.Texture = "rbxassetid://340867792"
336+
		char.Head.face.Texture = "rbxassetid://2436962055"
337
		tecks2.Text = "Pooche"
338
	end
339
	if canglitch == 3 and issprinting then
340-
		char.Head.face.Texture = "rbxassetid://340867792"
340+
		char.Head.face.Texture = "rbxassetid://2436962055"
341
		tecks2.Text = "Pooche"
342
	end
343
	if canglitch == 4 and issprinting then
344-
		char.Head.face.Texture = "rbxassetid://340867792"
344+
		char.Head.face.Texture = "rbxassetid://2436962055"
345
		tecks2.Text = "Pooche"
346
	end
347
	if canglitch == 5 and issprinting then
348-
		char.Head.face.Texture = "rbxassetid://340867792"
348+
		char.Head.face.Texture = "rbxassetid://2436962055"
349
		tecks2.Text = "Pooche"
350
	end
351
	if canglitch == 6 and issprinting then
352-
		char.Head.face.Texture = "rbxassetid://340867792"
352+
		char.Head.face.Texture = "rbxassetid://2436962055"
353
		tecks2.Text = "Pooche"
354
	end
355
	if canglitch == 7 and issprinting then
356-
		char.Head.face.Texture = "rbxassetid://340867792"
356+
		char.Head.face.Texture = "rbxassetid://2436962055"
357
		tecks2.Text = "Pooche"
358
	end
359
	if canglitch == 8 and issprinting then
360-
		char.Head.face.Texture = "rbxassetid://340867792"
360+
		char.Head.face.Texture = "rbxassetid://2436962055"
361
		tecks2.Text = "Pooche"
362
	end
363
	if canglitch == 9  and issprinting then
364-
		char.Head.face.Texture = "rbxassetid://340867792"
364+
		char.Head.face.Texture = "rbxassetid://2436962055"
365
		tecks2.Text = "Pooche"
366
	end
367
	if canglitch == 10 and issprinting then
368-
		char.Head.face.Texture = "rbxassetid://340867792"
368+
		char.Head.face.Texture = "rbxassetid://2436962055"
369
		tecks2.Text = "Pooche"
370
	end
371
	if canglitch == 11 and issprinting then
372-
		char.Head.face.Texture = "rbxassetid://340867792"
372+
		char.Head.face.Texture = "rbxassetid://2436962055"
373
		tecks2.Text = "Pooche"
374
	end
375
	if canglitch == 12 and issprinting then
376-
		char.Head.face.Texture = "rbxassetid://340867792"
376+
		char.Head.face.Texture = "rbxassetid://2436962055"
377
		tecks2.Text = "Pooche"
378
	end
379
	if canglitch == 13 and issprinting then
380-
		char.Head.face.Texture = "rbxassetid://340867792"
380+
		char.Head.face.Texture = "rbxassetid://2436962055"
381
		tecks2.Text = "Pooche"
382
	end
383
	if canglitch == 14 and issprinting then
384-
		char.Head.face.Texture = "rbxassetid://340867792"
384+
		char.Head.face.Texture = "rbxassetid://2436962055"
385
		tecks2.Text = "Pooche"
386
	end
387
	if canglitch == 15 and issprinting then
388-
		char.Head.face.Texture = "rbxassetid://340867792"
388+
		char.Head.face.Texture = "rbxassetid://2436962055"
389
		tecks2.Text = "Pooche"
390
	end
391
end