Advertisement
Guest User

blox whatch fe

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