Hugo1234cool

Untitled

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