Advertisement
MESCRIPT

Ur mum

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