Advertisement
Guest User

Untitled

a guest
Jan 17th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.00 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. do
  4. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  5. script.Parent = Player.Character
  6.  
  7. --RemoteEvent for communicating
  8. local Event = Instance.new("RemoteEvent")
  9. Event.Name = "UserInput_Event"
  10.  
  11. --Fake event to make stuff like Mouse.KeyDown work
  12. local function fakeEvent()
  13. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  14. t.connect = t.Connect
  15. return t
  16. end
  17.  
  18. --Creating fake input objects with fake variables
  19. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  20. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  21. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  22. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  23. end}
  24. --Merged 2 functions into one by checking amount of arguments
  25. CAS.UnbindAction = CAS.BindAction
  26.  
  27. --This function will trigger the events that have been :Connect()'ed
  28. local function te(self,ev,...)
  29. local t = m[ev]
  30. if t and t._fakeEvent and t.Function then
  31. t.Function(...)
  32. end
  33. end
  34. m.TrigEvent = te
  35. UIS.TrigEvent = te
  36.  
  37. Event.OnServerEvent:Connect(function(plr,io)
  38. if plr~=Player then return end
  39. if io.isMouse then
  40. m.Target = io.Target
  41. m.Hit = io.Hit
  42. else
  43. local b = io.UserInputState == Enum.UserInputState.Begin
  44. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  45. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  46. end
  47. for _,t in pairs(CAS.Actions) do
  48. for _,k in pairs(t.Keys) do
  49. if k==io.KeyCode then
  50. t.Function(t.Name,io.UserInputState,io)
  51. end
  52. end
  53. end
  54. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  55. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  56. end
  57. end)
  58. Event.Parent = NLS([==[
  59. local Player = game:GetService("Players").LocalPlayer
  60. local Event = script:WaitForChild("UserInput_Event")
  61.  
  62. local UIS = game:GetService("UserInputService")
  63. local input = function(io,a)
  64. if a then return end
  65. --Since InputObject is a client-side instance, we create and pass table instead
  66. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  67. end
  68. UIS.InputBegan:Connect(input)
  69. UIS.InputEnded:Connect(input)
  70.  
  71. local Mouse = Player:GetMouse()
  72. local h,t
  73. --Give the server mouse data 30 times every second, but only if the values changed
  74. --If player is not moving their mouse, client won't fire events
  75. while wait(1/30) do
  76. if h~=Mouse.Hit or t~=Mouse.Target then
  77. h,t=Mouse.Hit,Mouse.Target
  78. Event:FireServer({isMouse=true,Target=t,Hit=h})
  79. end
  80. end]==],Player.Character)
  81. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  82. end
  83.  
  84. --bloxwatch script lol
  85.  
  86.  
  87. musicOn = true
  88.  
  89. Me = game.Players.LocalPlayer
  90. player = Me
  91. char = Me.Character
  92. chara = char
  93. larm = char["Left Arm"]
  94. rarm = char["Right Arm"]
  95. lleg = char["Left Leg"]
  96. rleg = char["Right Leg"]
  97. torso = char.Torso
  98. hed = char.Head
  99. lght = game.Lighting
  100. lichtact = false
  101. moosicact = false
  102. gotsagofest = true
  103. chara.Humanoid.MaxHealth = math.huge + 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
  104. chara.Humanoid.Health = math.huge + 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
  105.  
  106.  
  107.  
  108. wait(2.5)
  109.  
  110. chara.Humanoid.WalkSpeed = 10
  111. chara.Humanoid.JumpPower = 40
  112. local naeeym = Instance.new("BillboardGui",chara)
  113. naeeym.Size = UDim2.new(0,100,0,40)
  114. naeeym.StudsOffset = Vector3.new(0,2,0)
  115. naeeym.Adornee = chara.Head
  116. local tecks = Instance.new("TextLabel",naeeym)
  117. tecks.BackgroundTransparency = 1
  118. tecks.BorderSizePixel = 0
  119. tecks.Text = ""
  120. tecks.Font = "Bodoni"
  121. tecks.FontSize = "Size36"
  122. tecks.TextStrokeTransparency = 0.5
  123. tecks.TextColor3 = Color3.new(0,0,0)
  124. rrer = BrickColor.new("Really red")
  125. tecks.TextStrokeColor3 = rrer.Color
  126. tecks.Size = UDim2.new(1,0,0.5,0)
  127. local licht = Instance.new("PointLight",chara.Torso)
  128. licht.Color = tecks.TextStrokeColor3
  129. licht.Range = 60
  130. licht.Brightness = 1
  131. licht.Enabled = false
  132.  
  133.  
  134. ------------------------------- Player -------------------------------------------------------------------
  135. local z = Instance.new("Sound",char)
  136. z.Looped = true
  137. z.SoundId = "rbxassetid://167161785"
  138. z.Volume = 2.25
  139. if musicOn then
  140. z:Play()
  141. end
  142.  
  143. local l = Instance.new("ColorCorrectionEffect",game.Lighting)
  144.  
  145. for i,v in pairs(chara:children()) do
  146. if v:IsA("Accessory") or v:IsA("Shirt") or v:IsA("Pants") then
  147. v:Destroy()
  148. end
  149. end
  150. char.Head.face:Destroy()
  151.  
  152. 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")
  153. local Orbd = Instance.new("Part", char)
  154. Orbd.Name = "Orbd"
  155. Orbd.Shape = Enum.PartType.Ball
  156. Orbd.CanCollide = false
  157. Orbd.BrickColor = BrickColor.new("Really red")
  158. Orbd.Transparency = 0
  159. Orbd.Material = "Neon"
  160. Orbd.Size = Vector3.new(0.1, 0.1, 0.1)
  161. Orbd.TopSurface = Enum.SurfaceType.Smooth
  162. Orbd.BottomSurface = Enum.SurfaceType.Smooth
  163. local Weld = Instance.new("Weld", Orbd)
  164. Weld.Part0 = char.Head
  165. Weld.Part1 = Orbd
  166. Weld.C1 = CFrame.new(-0.2, -0.2, 0.5)
  167. local glov = Instance.new("PointLight", Orbd)
  168. glov.Brightness = 0.25
  169. glov.Range = 20
  170. glov.Color = Color3.new(255, 0, 0)
  171. local Orbvc = Instance.new("Part", char)
  172. Orbvc.Name = "Orbvc"
  173. Orbvc.Shape = Enum.PartType.Ball
  174. Orbvc.CanCollide = false
  175. Orbvc.BrickColor = BrickColor.new("Really red")
  176. Orbvc.Transparency = 0
  177. Orbvc.Material = "Neon"
  178. Orbvc.Size = Vector3.new(0.1, 0.1, 0.1)
  179. Orbvc.TopSurface = Enum.SurfaceType.Smooth
  180. Orbvc.BottomSurface = Enum.SurfaceType.Smooth
  181. local Weld = Instance.new("Weld", Orbvc)
  182. Weld.Part0 = char.Head
  183. Weld.Part1 = Orbvc
  184. Weld.C1 = CFrame.new(0.2, -0.2, 0.5)
  185. local glo = Instance.new("PointLight", Orbvc)
  186. glo.Brightness = 0.25
  187. glo.Range = 20
  188. glo.Color = Color3.new(255, 0, 0)
  189.  
  190. local IsFreeFalling = false
  191. local SpinPart = Instance.new('Part')
  192. SpinPart.Transparency = 1
  193. SpinPart.Size = Vector3.new(25,1,25)
  194. SpinPart.CanCollide = false
  195. SpinPart.FormFactor = 'Custom'
  196. local FX = Instance.new('ParticleEmitter',SpinPart)
  197. 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
  198. local FX = Instance.new('ParticleEmitter',SpinPart)
  199. 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
  200. do
  201. local tspin = Instance.new('BodyAngularVelocity')
  202. tspin.angularvelocity = Vector3.new(0,1,0)
  203. tspin.maxTorque =Vector3.new(math.huge,math.huge,math.huge)
  204. tspin.Parent = SpinPart
  205. end
  206. local SpinPos = Instance.new('BodyPosition')
  207. SpinPos.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  208. SpinPos.Parent = SpinPart
  209.  
  210. function Equipped()
  211. IsEquipped = true
  212. local MyTorso = char.Torso
  213. if MyTorso then
  214. spawn(function()
  215. local startTime = tick()
  216. SpinPart.CFrame = CFrame.new(MyTorso.CFrame.p+Vector3.new(0,-2.8,0))
  217. SpinPart.Parent = MyTorso
  218. local fadeIn = true
  219. while IsEquipped do
  220. if not IsFreeFalling then
  221. SpinPos.position = MyTorso.CFrame.p+Vector3.new(0,-2.8,0)
  222. end
  223. wait()
  224. end
  225. SpinPart.Parent = nil
  226.  
  227. end)
  228. end
  229. end
  230.  
  231.  
  232. wait(0.01)
  233. Equipped()
  234.  
  235.  
  236. function start()
  237. print("Darkness falls across the battlefield...")
  238. wait()
  239. print("----------------------------------------")
  240. wait()
  241. print(" - Ender booted up. -")
  242. wait()
  243. print("- Ender written by yeox769. -")
  244. i = 0
  245. while i<1 do
  246. wait()
  247. i = i + 0.01
  248. l.Contrast,l.Saturation,l.Brightness = l.Contrast + 0.02, l.Saturation - 0.0075, l.Brightness + 0.00375
  249. l.TintColor = Color3.new(1,1-i,1-i)
  250. end
  251. end
  252.  
  253. delay(0,start)
  254.  
  255. TC = chara.HumanoidRootPart.RootJoint
  256. HC = chara.Torso.Neck
  257. RAC = chara.Torso["Right Shoulder"]
  258. LAC = chara.Torso["Left Shoulder"]
  259. RLC = chara.Torso["Right Hip"]
  260. LLC = chara.Torso["Left Hip"]
  261. TCF = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  262. HCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  263. RACF = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  264. LACF = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  265. RLCF = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  266. LLCF = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  267. RWF = CFrame.new(-1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  268. LWF = CFrame.new(1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  269. RLWF = CFrame.new(-.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  270. LLWF = CFrame.new(.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  271. RW = Instance.new("Weld",HC.Parent)
  272. RW.Part1 = HC.Parent
  273. RW.Part0 = chara["Right Arm"]
  274. RW.C0 = RWF
  275. LW = Instance.new("Weld",HC.Parent)
  276. LW.Part1 = HC.Parent
  277. LW.Part0 = chara["Left Arm"]
  278. LW.C0 = LWF
  279. RLW = nil
  280. LLW = nil
  281.  
  282.  
  283. function clerp(a,b,c)
  284. return a:lerp(b,c)
  285. end
  286.  
  287. TC.C0 = TCF
  288. HC.C0 = HCF
  289. RW.C0 = RWF
  290. LW.C0 = LWF
  291.  
  292. --Idle Clerp--
  293. ITCF = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(10))
  294. IHCF = HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,math.rad(-10))
  295. IRWF = RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-2))
  296. ILWF = LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(2))
  297.  
  298. TC.C0 = ITCF
  299. HC.C0 = IHCF
  300. RW.C0 = IRWF
  301. LW.C0 = ILWF
  302.  
  303.  
  304.  
  305.  
  306.  
  307. New = function(Object, Parent, Name, Data)
  308. local Object = Instance.new(Object)
  309. for Index, Value in pairs(Data or {}) do
  310. Object[Index] = Value
  311. end
  312. Object.Parent = Parent
  313. Object.Name = Name
  314. return Object
  315. end
  316.  
  317. function ScatterEff(part)
  318. local eff1 = Instance.new("ParticleEmitter",part)
  319. eff1.Size = NumberSequence.new(.1)
  320. eff1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.9,0),NumberSequenceKeypoint.new(1,1)})
  321. eff1.LightEmission = 1
  322. eff1.Lifetime = NumberRange.new(1)
  323. eff1.Speed = NumberRange.new(1)
  324. eff1.Rate = 100
  325. eff1.VelocitySpread = 10000
  326. eff1.Texture = "rbxassetid://347504241"
  327. eff1.Color = ColorSequence.new(Color3.new(1,0,0))
  328. local eff2 = Instance.new("ParticleEmitter",part)
  329. eff2.Size = NumberSequence.new(.1)
  330. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.9,0),NumberSequenceKeypoint.new(1,1)})
  331. eff2.LightEmission = 1
  332. eff2.Lifetime = NumberRange.new(1)
  333. eff2.Speed = NumberRange.new(1)
  334. eff2.Rate = 100
  335. eff2.VelocitySpread = 10000
  336. eff2.Texture = "rbxassetid://347504259"
  337. eff2.Color = ColorSequence.new(Color3.new(1,0,0))
  338. end
  339.  
  340. function BurningEff(part)
  341. local eff1 = Instance.new("ParticleEmitter",part)
  342. eff1.Size = NumberSequence.new(.1)
  343. eff1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)})
  344. eff1.LightEmission = 1
  345. eff1.Lifetime = NumberRange.new(1)
  346. eff1.Speed = NumberRange.new(0)
  347. eff1.Rate = 100
  348. eff1.Texture = "rbxassetid://347504241"
  349. eff1.Acceleration = Vector3.new(0,10,0)
  350. eff1.Color = ColorSequence.new(Color3.new(1,0,0))
  351. local eff2 = Instance.new("ParticleEmitter",part)
  352. eff2.Size = NumberSequence.new(.1)
  353. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)})
  354. eff2.LightEmission = 1
  355. eff2.Lifetime = NumberRange.new(1)
  356. eff2.Speed = NumberRange.new(0)
  357. eff2.Rate = 100
  358. eff2.Texture = "rbxassetid://347504259"
  359. eff2.Acceleration = Vector3.new(0,10,0)
  360. eff2.Color = ColorSequence.new(Color3.new(1,0,0))
  361. local eff3 = Instance.new("ParticleEmitter",part)
  362. eff3.Size = NumberSequence.new(1)
  363. eff3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
  364. eff3.LightEmission = 1
  365. eff3.Lifetime = NumberRange.new(1)
  366. eff3.Speed = NumberRange.new(0)
  367. eff3.Rate = 100
  368. eff3.Texture = "rbxasset://textures/particles/fire_main.dds"
  369. eff3.Acceleration = Vector3.new(0,10,0)
  370. eff3.Color = ColorSequence.new(Color3.new(1,0,0))
  371. end
  372.  
  373.  
  374.  
  375. slashsnd = New("Sound",chara.Torso,"Slash",{SoundId = "rbxassetid://28144425",PlaybackSpeed = .7,Volume = 5})
  376. hitsnd = New("Sound",chara.Torso,"Hit",{SoundId = "rbxassetid://429400881",PlaybackSpeed = .7,Volume = 5})
  377. telesnd = New("Sound",chara.Torso,"Tele",{SoundId = "rbxassetid://2767090",PlaybackSpeed = .7,Volume = 5})
  378. burnsnd = New("Sound",chara.Torso,"Burn",{SoundId = "rbxassetid://32791565",PlaybackSpeed = .7,Volume = 5})
  379. music1 = New("Sound",chara.Torso,"Music1",{SoundId = "rbxassetid://151038517",PlaybackSpeed = .5,Volume = 10,Looped = true})
  380. music2 = New("Sound",chara.Torso,"Music2",{SoundId = "rbxassetid://11984351",PlaybackSpeed = .2,Volume = 5,Looped = true})
  381. deathmus = New("Sound",chara.Torso,"DeathMus",{SoundId = "rbxassetid://19094700",PlaybackSpeed = .5,Volume = 5,Looped = true})
  382. deathex = New("Sound",chara.Torso,"DeathEx",{SoundId = "rbxassetid://11984351",PlaybackSpeed = 1,Volume = 5})
  383.  
  384.  
  385.  
  386.  
  387.  
  388. --Soul Steal--
  389. function SoulSteal(pos)
  390. local soulst = coroutine.wrap(function()
  391. local soul = Instance.new("Part",chara)
  392. soul.Size = Vector3.new(0,0,0)
  393. soul.CanCollide = false
  394. soul.Anchored = false
  395. soul.Position = pos
  396. soul.CFrame = CFrame.new(pos.X,pos.Y,pos.Z)
  397. soul.Transparency = 1
  398. local ptc = Instance.new("ParticleEmitter",soul)
  399. ptc.Texture = "http://www.roblox.com/asset/?id=413366101"
  400. ptc.Size = NumberSequence.new(.5)
  401. ptc.LockedToPart = true
  402. ptc.Speed = NumberRange.new(0)
  403. ptc.Lifetime = NumberRange.new(9999)
  404. local bodpos = Instance.new("BodyPosition",soul)
  405. bodpos.Position = pos
  406. wait(2)
  407. soul.Touched:connect(function(hit)
  408. if hit.Parent == chara then
  409. soul:Destroy()
  410. end
  411. end)
  412. while soul do
  413. wait(.1)
  414. bodpos.Position = chara.Torso.Position
  415. end
  416. end)
  417. soulst()
  418. end
  419.  
  420. --Death of a Mortal--
  421. function KillMortal(hitdude)
  422. local torsy = nil
  423. if hitdude:FindFirstChild("Torso")~=nil then
  424. torsy = hitdude.Torso
  425. elseif hitdude:FindFirstChild("UpperTorso")~=nil then
  426. torsy = hitdude.UpperTorso
  427. end
  428. local val = Instance.new("ObjectValue",hitdude)
  429. val.Name = "HasBeenHit"
  430. hitdude:BreakJoints()
  431. hitdude.Humanoid:Destroy()
  432. SoulSteal(torsy.Position)
  433. local chi = hitdude:GetChildren()
  434. for i = 1, #chi do
  435. if chi[i].ClassName == "Part" or chi[i].ClassName == "MeshPart" then
  436. local bodpos = Instance.new("BodyPosition",chi[i])
  437. bodpos.Position = chi[i].Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  438. ScatterEff(chi[i])
  439. chi[i].BrickColor = BrickColor.new("Really black")
  440. end
  441. end
  442. for i = 1, 4 do
  443. for i = 1, #chi do
  444. if chi[i].ClassName == "Part" or chi[i].ClassName == "MeshPart" then
  445. chi[i].Transparency = chi[i].Transparency + .25
  446. wait(.01)
  447. end
  448. end
  449. end
  450. for i = 1, #chi do
  451. if chi[i].ClassName == "Part" or chi[i].ClassName == "MeshPart" then
  452. chi[i]:Destroy()
  453. end
  454. end
  455. end
  456.  
  457.  
  458. function Teleport(pos)
  459. telesnd:Play()
  460. local ch = chara:GetChildren()
  461. for i = 1, #ch do
  462. if ch[i].ClassName == "Part" and ch[i].Name ~= "HumanoidRootPart" then
  463. local trace = Instance.new("Part",game.Workspace)
  464. trace.Size = ch[i].Size
  465. trace.Material = "Neon"
  466. trace.BrickColor = BrickColor.new("Really black")
  467. trace.Transparency = .3
  468. trace.CanCollide = false
  469. trace.Anchored = true
  470. trace.CFrame = ch[i].CFrame
  471. if ch[i].Name == "Head" then
  472. mehs = Instance.new("CylinderMesh",trace)
  473. mehs.Scale = Vector3.new(1.25,1.25,1.25)
  474. end
  475. tracedisappear = coroutine.wrap(function()
  476. wait(1)
  477. for i = 1, 7 do
  478. wait(.1)
  479. trace.Transparency = trace.Transparency + .1
  480. end
  481. trace:Destroy()
  482. end)
  483. tracedisappear()
  484. end
  485. end
  486. chara.Torso.CFrame = CFrame.new(pos.X,pos.Y,pos.Z)
  487. end
  488.  
  489.  
  490. function Grab(mouse)
  491. local hit = mouse.Target
  492. if hit ~= nil then
  493. if hit.Parent:FindFirstChild("Humanoid")~=nil then
  494. local torsy = nil
  495. if hit.Parent:FindFirstChild("Torso")~=nil then
  496. torsy = hit.Parent.Torso
  497. elseif hit.Parent:FindFirstChild("UpperTorso")~=nil then
  498. torsy = hit.Parent.UpperTorso
  499. end
  500. local bodpos = Instance.new("BodyPosition",torsy)
  501. bodpos.Position = torsy.Position
  502. wait(1)
  503. burnsnd:Play()
  504. hit.Parent.Humanoid.MaxHealth = 100
  505. bodpos.Position = bodpos.Position + Vector3.new(0,4,0)
  506. for i = 1, 10 do
  507. wait(.1)
  508. BurningEff(torsy)
  509. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 10
  510. end
  511. KillMortal(hit.Parent)
  512. end
  513. else end
  514. end
  515.  
  516.  
  517. function onKeyDown(key)
  518. if key == "z" then
  519. Teleport(Mouse.Hit.p + Vector3.new(0,2,0))
  520. elseif key == "x" then
  521. Grab(Mouse)
  522. end
  523. end
  524.  
  525. --Mouse Functions--
  526. if Mouse then
  527. Mouse.KeyDown:connect(onKeyDown)
  528. end
  529.  
  530. while true do
  531. wait(.01)
  532. chance = math.random(0,100)
  533. if chance < 10 then
  534. sel = math.random(1,3)
  535. if sel == 1 then
  536. tecks.Text = "BLOXWATCH"
  537. elseif sel == 2 then
  538. tecks.Text = "0010 10001010 101011"
  539. elseif sel == 3 then
  540. tecks.Text = "B5OX W7TC8"
  541. end
  542. else tecks.Text = "BLOX WATCH"
  543. if chara.Humanoid.Health > 0 then
  544. chara.Humanoid.MaxHealth = math.huge
  545. chara.Humanoid.Health = math.huge
  546. end
  547. if game.Lighting:FindFirstChild("ColorCorrection") == nil then
  548. local l = Instance.new("ColorCorrectionEffect",game.Lighting)
  549. l.Contrast,l.Saturation,l.Brightness = 2, -0.75, 0.375
  550. l.TintColor = Color3.new(1,0,0)
  551. end
  552. tecks.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  553. end
  554. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement