View difference between Paste ID: 3CWUkbeu and Z1CHwKGv
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-
Me = game.Players.LocalPlayer
6+
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-
mouse = player:GetMouse()
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
--usuario_cuidadosant script lol
88
89
90
musicOn = true
91
92
Me = owner
93
player = Me
94
char = Me.Character
95
chara = char
96
larm = char["Left Arm"]
97
rarm = char["Right Arm"]
98
lleg = char["Left Leg"]
99
rleg = char["Right Leg"]
100
torso = char.Torso
101
hed = char.Head
102
lght = game.Lighting
103
lichtact = false
104
moosicact = false
105
gotsagofest = true
106
chara.Humanoid.MaxHealth = math.huge + 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
107
chara.Humanoid.Health = math.huge + 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
108
109
110
111
wait(2.5)
112
113
chara.Humanoid.WalkSpeed = 10
114
chara.Humanoid.JumpPower = 40
115
local naeeym = Instance.new("BillboardGui",chara)
116
naeeym.Size = UDim2.new(0,100,0,40)
117
naeeym.StudsOffset = Vector3.new(0,2,0)
118
naeeym.Adornee = chara.Head
119
local tecks = Instance.new("TextLabel",naeeym)
120
tecks.BackgroundTransparency = 1
121
tecks.BorderSizePixel = 0
122
tecks.Text = ""
123
tecks.Font = "Bodoni"
124
tecks.FontSize = "Size36"
125
tecks.TextStrokeTransparency = 0.5
126
tecks.TextColor3 = Color3.new(0,0,0)
127
rrer = BrickColor.new("Really red")
128
tecks.TextStrokeColor3 = rrer.Color
129
tecks.Size = UDim2.new(1,0,0.5,0)
130
local licht = Instance.new("PointLight",chara.Torso)
131
licht.Color = tecks.TextStrokeColor3
132
licht.Range = 60
133
licht.Brightness = 1
134
licht.Enabled = false
135
136
137
------------------------------- Player -------------------------------------------------------------------
138
local z = Instance.new("Sound",char)
139
z.Looped = true
140
z.SoundId = "rbxassetid://167161785"
141
z.Volume = 2.25
142
if musicOn then
143
	z:Play()
144
end
145
146
147
local l = Instance.new("ColorCorrectionEffect",game.Lighting)
148
149
for i,v in pairs(chara:children()) do
150
	if v:IsA("Accessory") or v:IsA("Shirt") or v:IsA("Pants") then
151
		v:Destroy()
152
	end
153
end
154
char.Head.face:Destroy()
155
156
char["Body Colors"].HeadColor, char["Body Colors"].LeftArmColor, char["Body Colors"].LeftLegColor, char["Body Colors"].RightArmColor, char["Body Colors"].RightLegColor, char["Body Colors"].TorsoColor = BrickColor.new("Black"), BrickColor.new("Black"), BrickColor.new("Black"), BrickColor.new("Black"), BrickColor.new("Black"), BrickColor.new("Really black")
157
local Orbd = Instance.new("Part", char)
158
Orbd.Name = "Orbd"
159
Orbd.Shape = Enum.PartType.Ball
160
Orbd.CanCollide = false
161
Orbd.BrickColor = BrickColor.new("Really red")
162
Orbd.Transparency = 0
163
Orbd.Material = "Neon"
164
Orbd.Size = Vector3.new(0.1, 0.1, 0.1)
165
Orbd.TopSurface = Enum.SurfaceType.Smooth
166
Orbd.BottomSurface = Enum.SurfaceType.Smooth
167
local Weld = Instance.new("Weld", Orbd)
168
Weld.Part0 = char.Head
169
Weld.Part1 = Orbd
170
Weld.C1 = CFrame.new(-0.2, -0.2, 0.5)
171
local glov = Instance.new("PointLight", Orbd)
172
glov.Brightness = 0.25
173
glov.Range = 20
174
glov.Color = Color3.new(255, 0, 0)
175
local Orbvc = Instance.new("Part", char)
176
Orbvc.Name = "Orbvc"
177
Orbvc.Shape = Enum.PartType.Ball
178
Orbvc.CanCollide = false
179
Orbvc.BrickColor = BrickColor.new("Really red")
180
Orbvc.Transparency = 0
181
Orbvc.Material = "Neon"
182
Orbvc.Size = Vector3.new(0.1, 0.1, 0.1)
183
Orbvc.TopSurface = Enum.SurfaceType.Smooth
184
Orbvc.BottomSurface = Enum.SurfaceType.Smooth
185
local Weld = Instance.new("Weld", Orbvc)
186
Weld.Part0 = char.Head
187
Weld.Part1 = Orbvc
188
Weld.C1 = CFrame.new(0.2, -0.2, 0.5)
189
local glo = Instance.new("PointLight", Orbvc)
190
glo.Brightness = 0.25
191
glo.Range = 20
192
glo.Color = Color3.new(255, 0, 0)
193
194
local IsFreeFalling = false
195
local SpinPart = Instance.new('Part')
196
SpinPart.Transparency = 1
197
SpinPart.Size = Vector3.new(25,1,25)
198
SpinPart.CanCollide = false
199
SpinPart.FormFactor = 'Custom'
200
local FX = Instance.new('ParticleEmitter',SpinPart)
201
FX.Color,FX.Size,FX.Lifetime,FX.Rate,FX.Speed,FX.EmissionDirection,FX.Transparency,FX.LockedToPart,FX.Texture,FX.VelocityInheritance = ColorSequence.new({ColorSequenceKeypoint.new(0, BrickColor.new("Really black").Color, 0), ColorSequenceKeypoint.new(1, BrickColor.new("Black").Color, 0)}), NumberSequence.new(0.25), NumberRange.new(3.75,3.75), 125, NumberRange.new(5,5), "Top", NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.25,0,0),NumberSequenceKeypoint.new(0.9,0,0),NumberSequenceKeypoint.new(0.975,1,0),NumberSequenceKeypoint.new(1,1,0)}), false, "rbxassetid://132883219",-0.1
202
local FX = Instance.new('ParticleEmitter',SpinPart)
203
FX.Color,FX.Size,FX.Lifetime,FX.Rate,FX.Speed,FX.EmissionDirection,FX.Transparency,FX.LockedToPart,FX.Texture,FX.VelocityInheritance = ColorSequence.new({ColorSequenceKeypoint.new(0, BrickColor.new("Really black").Color, 0), ColorSequenceKeypoint.new(1, BrickColor.new("Black").Color, 0)}), NumberSequence.new(0.25), NumberRange.new(3.75,3.75), 125, NumberRange.new(5,5), "Top", NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.25,0,0),NumberSequenceKeypoint.new(0.9,0,0),NumberSequenceKeypoint.new(0.975,1,0),NumberSequenceKeypoint.new(1,1,0)}), false, "rbxassetid://132883219",0.1
204
do
205
	local tspin = Instance.new('BodyAngularVelocity')
206
	tspin.angularvelocity = Vector3.new(0,1,0)
207
	tspin.maxTorque =Vector3.new(math.huge,math.huge,math.huge)
208
	tspin.Parent = SpinPart
209
end
210
local SpinPos = Instance.new('BodyPosition')
211
SpinPos.maxForce = Vector3.new(math.huge,math.huge,math.huge)
212
SpinPos.Parent = SpinPart
213
214
function Equipped()
215
	IsEquipped = true
216
	local MyTorso = char.Torso
217
	if MyTorso then
218
		spawn(function()
219
			local startTime = tick()
220
			SpinPart.CFrame = CFrame.new(MyTorso.CFrame.p+Vector3.new(0,-2.8,0))
221
			SpinPart.Parent = MyTorso
222
			local fadeIn = true
223
			while IsEquipped do
224
				if not IsFreeFalling then
225
					SpinPos.position = MyTorso.CFrame.p+Vector3.new(0,-2.8,0)
226
				end
227
				wait()
228
			end
229
			SpinPart.Parent = nil
230
			
231
		end)
232
	end
233
end
234
235
236
	wait(0.01)
237
	Equipped()
238
239
240
function start()
241
	print("Darkness falls across the battlefield...")
242
	wait()
243
	print("----------------------------------------")
244
	wait()
245
	print("          - Ender booted up. -")
246
	wait()
247
	print("- Ender written by yeox769. -")
248
	i = 0
249
	while i<1 do
250
		wait()
251
		i = i + 0.01
252
		l.Contrast,l.Saturation,l.Brightness = l.Contrast + 0.02, l.Saturation - 0.0075, l.Brightness + 0.00375
253
		l.TintColor = Color3.new(1,1-i,1-i)
254
	end
255
end
256
257
delay(0,start)
258
259
TC = chara.HumanoidRootPart.RootJoint
260
HC = chara.Torso.Neck
261
RAC = chara.Torso["Right Shoulder"]
262
LAC = chara.Torso["Left Shoulder"]
263
RLC = chara.Torso["Right Hip"]
264
LLC = chara.Torso["Left Hip"]
265
TCF = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
266
HCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
267
RACF = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
268
LACF = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
269
RLCF = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
270
LLCF = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
271
RWF = CFrame.new(-1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
272
LWF = CFrame.new(1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
273
RLWF = CFrame.new(-.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
274
LLWF = CFrame.new(.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
275
RW = Instance.new("Weld",HC.Parent)
276
RW.Part1 = HC.Parent
277
RW.Part0 = chara["Right Arm"]
278
RW.C0 = RWF
279
LW = Instance.new("Weld",HC.Parent)
280
LW.Part1 = HC.Parent
281
LW.Part0 = chara["Left Arm"]
282
LW.C0 = LWF
283
RLW = nil
284
LLW = nil
285
286
287
function clerp(a,b,c)
288
return a:lerp(b,c)
289
end
290
291
TC.C0 = TCF
292
HC.C0 = HCF
293
RW.C0 = RWF
294
LW.C0 = LWF
295
296
--Idle Clerp--
297
ITCF = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(10))
298
IHCF = HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,math.rad(-10))
299
IRWF = RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-2))
300
ILWF = LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(2))
301
302
TC.C0 = ITCF
303
HC.C0 = IHCF
304
RW.C0 = IRWF
305
LW.C0 = ILWF
306
307
308
309
310
311
New = function(Object, Parent, Name, Data)
312
	local Object = Instance.new(Object)
313
	for Index, Value in pairs(Data or {}) do
314
		Object[Index] = Value
315
	end
316
	Object.Parent = Parent
317
	Object.Name = Name
318
	return Object
319
end
320
321
function ScatterEff(part)
322
local eff1 = Instance.new("ParticleEmitter",part)
323
eff1.Size = NumberSequence.new(.1)
324
eff1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.9,0),NumberSequenceKeypoint.new(1,1)})
325
eff1.LightEmission = 1
326
eff1.Lifetime = NumberRange.new(1)
327
eff1.Speed = NumberRange.new(1)
328
eff1.Rate = 100
329
eff1.VelocitySpread = 10000
330
eff1.Texture = "rbxassetid://347504241"
331
eff1.Color = ColorSequence.new(Color3.new(1,0,0))
332
local eff2 = Instance.new("ParticleEmitter",part)
333
eff2.Size = NumberSequence.new(.1)
334
eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.9,0),NumberSequenceKeypoint.new(1,1)})
335
eff2.LightEmission = 1
336
eff2.Lifetime = NumberRange.new(1)
337
eff2.Speed = NumberRange.new(1)
338
eff2.Rate = 100
339
eff2.VelocitySpread = 10000
340
eff2.Texture = "rbxassetid://347504259"
341
eff2.Color = ColorSequence.new(Color3.new(1,0,0))
342
end
343
344
function BurningEff(part)
345
local eff1 = Instance.new("ParticleEmitter",part)
346
eff1.Size = NumberSequence.new(.1)
347
eff1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)})
348
eff1.LightEmission = 1
349
eff1.Lifetime = NumberRange.new(1)
350
eff1.Speed = NumberRange.new(0)
351
eff1.Rate = 100
352
eff1.Texture = "rbxassetid://347504241"
353
eff1.Acceleration = Vector3.new(0,10,0)
354
eff1.Color = ColorSequence.new(Color3.new(1,0,0))
355
local eff2 = Instance.new("ParticleEmitter",part)
356
eff2.Size = NumberSequence.new(.1)
357
eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)})
358
eff2.LightEmission = 1
359
eff2.Lifetime = NumberRange.new(1)
360
eff2.Speed = NumberRange.new(0)
361
eff2.Rate = 100
362
eff2.Texture = "rbxassetid://347504259"
363
eff2.Acceleration = Vector3.new(0,10,0)
364
eff2.Color = ColorSequence.new(Color3.new(1,0,0))
365
local eff3 = Instance.new("ParticleEmitter",part)
366
eff3.Size = NumberSequence.new(1)
367
eff3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
368
eff3.LightEmission = 1
369
eff3.Lifetime = NumberRange.new(1)
370
eff3.Speed = NumberRange.new(0)
371
eff3.Rate = 100
372
eff3.Texture = "rbxasset://textures/particles/fire_main.dds"
373
eff3.Acceleration = Vector3.new(0,10,0)
374
eff3.Color = ColorSequence.new(Color3.new(1,0,0))
375
end
376
377
378
379
slashsnd = New("Sound",chara.Torso,"Slash",{SoundId = "rbxassetid://28144425",PlaybackSpeed = .7,Volume = 5})
380
hitsnd = New("Sound",chara.Torso,"Hit",{SoundId = "rbxassetid://429400881",PlaybackSpeed = .7,Volume = 5})
381
telesnd = New("Sound",chara.Torso,"Tele",{SoundId = "rbxassetid://2767090",PlaybackSpeed = .7,Volume = 5})
382
burnsnd = New("Sound",chara.Torso,"Burn",{SoundId = "rbxassetid://32791565",PlaybackSpeed = .7,Volume = 5})
383
music1 = New("Sound",chara.Torso,"Music1",{SoundId = "rbxassetid://151038517",PlaybackSpeed = .5,Volume = 10,Looped = true})
384
music2 = New("Sound",chara.Torso,"Music2",{SoundId = "rbxassetid://11984351",PlaybackSpeed = .2,Volume = 5,Looped = true})
385
deathmus = New("Sound",chara.Torso,"DeathMus",{SoundId = "rbxassetid://19094700",PlaybackSpeed = .5,Volume = 5,Looped = true})
386
deathex = New("Sound",chara.Torso,"DeathEx",{SoundId = "rbxassetid://11984351",PlaybackSpeed = 1,Volume = 5})
387
388
389
390
391
392
--Soul Steal--
393
function SoulSteal(pos)
394
local soulst = coroutine.wrap(function()
395
local soul = Instance.new("Part",chara)
396
soul.Size = Vector3.new(0,0,0)
397
soul.CanCollide = false
398
soul.Anchored = false
399
soul.Position = pos
400
soul.CFrame = CFrame.new(pos.X,pos.Y,pos.Z)
401
soul.Transparency = 1
402
local ptc = Instance.new("ParticleEmitter",soul)
403
ptc.Texture = "http://www.roblox.com/asset/?id=413366101"
404
ptc.Size = NumberSequence.new(.5)
405
ptc.LockedToPart = true
406
ptc.Speed = NumberRange.new(0)
407
ptc.Lifetime = NumberRange.new(9999)
408
local bodpos = Instance.new("BodyPosition",soul)
409
bodpos.Position = pos
410
wait(2)
411
soul.Touched:connect(function(hit)
412
if hit.Parent == chara then
413
soul:Destroy()
414
end
415
end)
416
while soul do
417
wait(.1)
418
bodpos.Position = chara.Torso.Position
419
end
420
end)
421
soulst()
422
end
423
424
--Death of a Mortal--
425
function KillMortal(hitdude)
426
local torsy = nil
427
if hitdude:FindFirstChild("Torso")~=nil then
428
torsy = hitdude.Torso	
429
elseif hitdude:FindFirstChild("UpperTorso")~=nil then
430
torsy = hitdude.UpperTorso
431
end
432
local val = Instance.new("ObjectValue",hitdude)
433
val.Name = "HasBeenHit"
434
hitdude:BreakJoints()
435
hitdude.Humanoid:Destroy()
436
SoulSteal(torsy.Position)
437
local chi = hitdude:GetChildren()
438
for i = 1, #chi do
439
if chi[i].ClassName == "Part" or chi[i].ClassName == "MeshPart" then
440
local bodpos = Instance.new("BodyPosition",chi[i])
441
bodpos.Position = chi[i].Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
442
ScatterEff(chi[i])
443
chi[i].BrickColor = BrickColor.new("Really black")
444
end
445
end
446
for i = 1, 4 do
447
for i = 1, #chi do
448
if chi[i].ClassName == "Part" or chi[i].ClassName == "MeshPart" then
449
chi[i].Transparency = chi[i].Transparency + .25
450
wait(.01)
451
end
452
end
453
end
454
for i = 1, #chi do
455
if chi[i].ClassName == "Part" or chi[i].ClassName == "MeshPart" then
456
chi[i]:Destroy()
457
end
458
end
459
end
460
461
462
function Teleport(pos)
463
telesnd:Play()
464
local ch = chara:GetChildren()
465
for i = 1, #ch do
466
if ch[i].ClassName == "Part" and ch[i].Name ~= "HumanoidRootPart" then
467
local trace = Instance.new("Part",game.Workspace)
468
trace.Size = ch[i].Size
469
trace.Material = "Neon"
470
trace.BrickColor = BrickColor.new("Really black")
471
trace.Transparency = .3
472
trace.CanCollide = false
473
trace.Anchored = true
474
trace.CFrame = ch[i].CFrame
475
if ch[i].Name == "Head" then
476
mehs = Instance.new("CylinderMesh",trace)
477
mehs.Scale = Vector3.new(1.25,1.25,1.25)
478
end
479
tracedisappear = coroutine.wrap(function()
480
wait(1)
481
for i = 1, 7 do
482
wait(.1)
483
trace.Transparency = trace.Transparency + .1
484
end
485
trace:Destroy()
486
end)
487
tracedisappear()
488
end
489
end
490
chara.Torso.CFrame = CFrame.new(pos.X,pos.Y,pos.Z)
491
end
492
493
494
function Grab(mouse)
495
local hit = mouse.Target
496
if hit ~= nil then
497
if hit.Parent:FindFirstChild("Humanoid")~=nil then
498
local torsy = nil
499
if hit.Parent:FindFirstChild("Torso")~=nil then
500
torsy = hit.Parent.Torso
501
elseif hit.Parent:FindFirstChild("UpperTorso")~=nil then
502
torsy = hit.Parent.UpperTorso
503
end
504
local bodpos = Instance.new("BodyPosition",torsy)
505
bodpos.Position = torsy.Position
506
wait(1)
507
burnsnd:Play()
508
hit.Parent.Humanoid.MaxHealth = 100
509
bodpos.Position = bodpos.Position + Vector3.new(0,4,0)
510
for i = 1, 10 do
511
wait(.1)
512
BurningEff(torsy)
513
hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 10
514
end
515
KillMortal(hit.Parent)
516
end
517
else end
518
end
519
520
521
function onKeyDown(key)
522
if key == "z" then
523
Teleport(Mouse.Hit.p + Vector3.new(0,2,0))
524
elseif key == "x" then
525
Grab(Mouse)
526
end
527
end
528
529
--Mouse Functions--
530
Mouse = player:GetMouse()
531
if Mouse then
532
Mouse.KeyDown:connect(onKeyDown)
533
end
534
535
while true do
536
wait(.01)
537
chance = math.random(0,100)
538
if chance < 10 then
539
sel = math.random(1,3)
540
if sel == 1 then
541
tecks.Text = "usuario_cuidadosant"
542
elseif sel == 2 then
543
tecks.Text = "0010 10001010 101011"
544
elseif sel == 3 then
545
tecks.Text = "U5U4R1O_CU1D4D054NT"
546
end
547
else tecks.Text = "usuario_cuidadosant"
548
if chara.Humanoid.Health > 0 then
549
chara.Humanoid.MaxHealth = math.huge
550
chara.Humanoid.Health = math.huge
551
end
552
if game.Lighting:FindFirstChild("ColorCorrection") == nil then
553
	local l = Instance.new("ColorCorrectionEffect",game.Lighting)
554
	l.Contrast,l.Saturation,l.Brightness = 2, -0.75, 0.375
555
	l.TintColor = Color3.new(1,0,0)
556
end
557
tecks.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
558
end
559
end