zXzGamePROzXz

Bloxwatch

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