Advertisement
Bendy928443534

Untitled

Jul 20th, 2019
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.16 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  4. local RealPlayer = Player
  5. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  6.  
  7. --bloxwatch script lol
  8.  
  9.  
  10. musicOn = true
  11.  
  12. Me = game.Players.LocalPlayer
  13. player = Me
  14. char = Me.Character
  15. chara = char
  16. larm = char["Left Arm"]
  17. rarm = char["Right Arm"]
  18. lleg = char["Left Leg"]
  19. rleg = char["Right Leg"]
  20. torso = char.Torso
  21. hed = char.Head
  22. mouse = player:GetMouse()
  23. lght = game.Lighting
  24. lichtact = false
  25. moosicact = false
  26. gotsagofest = true
  27. chara.Humanoid.MaxHealth = math.huge + 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
  28. chara.Humanoid.Health = math.huge + 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
  29.  
  30.  
  31.  
  32. wait(2.5)
  33.  
  34. chara.Humanoid.WalkSpeed = 10
  35. chara.Humanoid.JumpPower = 40
  36. local naeeym = Instance.new("BillboardGui",chara)
  37. naeeym.Size = UDim2.new(0,100,0,40)
  38. naeeym.StudsOffset = Vector3.new(0,2,0)
  39. naeeym.Adornee = chara.Head
  40. local tecks = Instance.new("TextLabel",naeeym)
  41. tecks.BackgroundTransparency = 1
  42. tecks.BorderSizePixel = 0
  43. tecks.Text = ""
  44. tecks.Font = "Bodoni"
  45. tecks.FontSize = "Size36"
  46. tecks.TextStrokeTransparency = 0.5
  47. tecks.TextColor3 = Color3.new(0,0,0)
  48. rrer = BrickColor.new("Really red")
  49. tecks.TextStrokeColor3 = rrer.Color
  50. tecks.Size = UDim2.new(1,0,0.5,0)
  51. local licht = Instance.new("PointLight",chara.Torso)
  52. licht.Color = tecks.TextStrokeColor3
  53. licht.Range = 60
  54. licht.Brightness = 1
  55. licht.Enabled = false
  56.  
  57.  
  58. ------------------------------- Player -------------------------------------------------------------------
  59. local z = Instance.new("Sound",char)
  60. z.Looped = true
  61. z.SoundId = "rbxassetid://167161785"
  62. z.Volume = 2.25
  63. if musicOn then
  64. z:Play()
  65. end
  66.  
  67. Mouse = player:GetMouse()
  68.  
  69. local l = Instance.new("ColorCorrectionEffect",game.Lighting)
  70.  
  71. for i,v in pairs(chara:children()) do
  72. if v:IsA("Accessory") or v:IsA("Shirt") or v:IsA("Pants") then
  73. v:Destroy()
  74. end
  75. end
  76. char.Head.face:Destroy()
  77.  
  78. 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")
  79. local Orbd = Instance.new("Part", char)
  80. Orbd.Name = "Orbd"
  81. Orbd.Shape = Enum.PartType.Ball
  82. Orbd.CanCollide = false
  83. Orbd.BrickColor = BrickColor.new("Really red")
  84. Orbd.Transparency = 0
  85. Orbd.Material = "Neon"
  86. Orbd.Size = Vector3.new(0.1, 0.1, 0.1)
  87. Orbd.TopSurface = Enum.SurfaceType.Smooth
  88. Orbd.BottomSurface = Enum.SurfaceType.Smooth
  89. local Weld = Instance.new("Weld", Orbd)
  90. Weld.Part0 = char.Head
  91. Weld.Part1 = Orbd
  92. Weld.C1 = CFrame.new(-0.2, -0.2, 0.5)
  93. local glov = Instance.new("PointLight", Orbd)
  94. glov.Brightness = 0.25
  95. glov.Range = 20
  96. glov.Color = Color3.new(255, 0, 0)
  97. local Orbvc = Instance.new("Part", char)
  98. Orbvc.Name = "Orbvc"
  99. Orbvc.Shape = Enum.PartType.Ball
  100. Orbvc.CanCollide = false
  101. Orbvc.BrickColor = BrickColor.new("Really red")
  102. Orbvc.Transparency = 0
  103. Orbvc.Material = "Neon"
  104. Orbvc.Size = Vector3.new(0.1, 0.1, 0.1)
  105. Orbvc.TopSurface = Enum.SurfaceType.Smooth
  106. Orbvc.BottomSurface = Enum.SurfaceType.Smooth
  107. local Weld = Instance.new("Weld", Orbvc)
  108. Weld.Part0 = char.Head
  109. Weld.Part1 = Orbvc
  110. Weld.C1 = CFrame.new(0.2, -0.2, 0.5)
  111. local glo = Instance.new("PointLight", Orbvc)
  112. glo.Brightness = 0.25
  113. glo.Range = 20
  114. glo.Color = Color3.new(255, 0, 0)
  115.  
  116. local IsFreeFalling = false
  117. local SpinPart = Instance.new('Part')
  118. SpinPart.Transparency = 1
  119. SpinPart.Size = Vector3.new(25,1,25)
  120. SpinPart.CanCollide = false
  121. SpinPart.FormFactor = 'Custom'
  122.  
  123. function Equipped()
  124. IsEquipped = true
  125. local MyTorso = char.Torso
  126. if MyTorso then
  127. spawn(function()
  128. local startTime = tick()
  129. SpinPart.CFrame = CFrame.new(MyTorso.CFrame.p+Vector3.new(0,-2.8,0))
  130. SpinPart.Parent = MyTorso
  131. local fadeIn = true
  132. while IsEquipped do
  133. if not IsFreeFalling then
  134. SpinPos.position = MyTorso.CFrame.p+Vector3.new(0,-2.8,0)
  135. end
  136. wait()
  137. end
  138. SpinPart.Parent = nil
  139.  
  140. end)
  141. end
  142. end
  143.  
  144.  
  145. wait(0.01)
  146. Equipped()
  147.  
  148.  
  149. function start()
  150. print("Stan")
  151. wait()
  152. print("Stan")
  153. wait()
  154. print("Stan")
  155. wait()
  156. print("Stan")
  157. i = 0
  158. while i<1 do
  159. wait()
  160. i = i + 0.01
  161. l.Contrast,l.Saturation,l.Brightness = l.Contrast + 0.02, l.Saturation - 0.0075, l.Brightness + 0.00375
  162. l.TintColor = Color3.new(1,1-i,1-i)
  163. end
  164. end
  165.  
  166. delay(0,start)
  167.  
  168. TC = chara.HumanoidRootPart.RootJoint
  169. HC = chara.Torso.Neck
  170. RAC = chara.Torso["Right Shoulder"]
  171. LAC = chara.Torso["Left Shoulder"]
  172. RLC = chara.Torso["Right Hip"]
  173. LLC = chara.Torso["Left Hip"]
  174. TCF = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  175. HCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  176. RACF = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  177. LACF = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  178. RLCF = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  179. LLCF = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  180. RWF = CFrame.new(-1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  181. LWF = CFrame.new(1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  182. RLWF = CFrame.new(-.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  183. LLWF = CFrame.new(.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  184. RW = Instance.new("Weld",HC.Parent)
  185. RW.Part1 = HC.Parent
  186. RW.Part0 = chara["Right Arm"]
  187. RW.C0 = RWF
  188. LW = Instance.new("Weld",HC.Parent)
  189. LW.Part1 = HC.Parent
  190. LW.Part0 = chara["Left Arm"]
  191. LW.C0 = LWF
  192. RLW = nil
  193. LLW = nil
  194.  
  195.  
  196. function clerp(a,b,c)
  197. return a:lerp(b,c)
  198. end
  199.  
  200. TC.C0 = TCF
  201. HC.C0 = HCF
  202. RW.C0 = RWF
  203. LW.C0 = LWF
  204.  
  205. --Idle Clerp--
  206. ITCF = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(10))
  207. IHCF = HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,math.rad(-10))
  208. IRWF = RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-2))
  209. ILWF = LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(2))
  210.  
  211. TC.C0 = ITCF
  212. HC.C0 = IHCF
  213. RW.C0 = IRWF
  214. LW.C0 = ILWF
  215.  
  216.  
  217.  
  218.  
  219.  
  220. New = function(Object, Parent, Name, Data)
  221. local Object = Instance.new(Object)
  222. for Index, Value in pairs(Data or {}) do
  223. Object[Index] = Value
  224. end
  225. Object.Parent = Parent
  226. Object.Name = Name
  227. return Object
  228. end
  229.  
  230. slashsnd = New("Sound",chara.Torso,"Slash",{SoundId = "rbxassetid://28144425",PlaybackSpeed = .7,Volume = 5})
  231. hitsnd = New("Sound",chara.Torso,"Hit",{SoundId = "rbxassetid://172658768",PlaybackSpeed = .7,Volume = 5})
  232. telesnd = New("Sound",chara.Torso,"Tele",{SoundId = "rbxassetid://2767090",PlaybackSpeed = .7,Volume = 5})
  233. burnsnd = New("Sound",chara.Torso,"Burn",{SoundId = "rbxassetid://32791565",PlaybackSpeed = .7,Volume = 5})
  234. music1 = New("Sound",chara.Torso,"Music1",{SoundId = "rbxassetid://151038517",PlaybackSpeed = .5,Volume = 10,Looped = true})
  235. music2 = New("Sound",chara.Torso,"Music2",{SoundId = "rbxassetid://11984351",PlaybackSpeed = .2,Volume = 5,Looped = true})
  236. deathmus = New("Sound",chara.Torso,"DeathMus",{SoundId = "rbxassetid://19094700",PlaybackSpeed = .5,Volume = 5,Looped = true})
  237. deathex = New("Sound",chara.Torso,"DeathEx",{SoundId = "rbxassetid://11984351",PlaybackSpeed = 1,Volume = 5})
  238.  
  239.  
  240.  
  241.  
  242.  
  243. --Soul Steal--
  244. function SoulSteal(pos)
  245. local soulst = coroutine.wrap(function()
  246. local soul = Instance.new("Part",chara)
  247. soul.Size = Vector3.new(0,0,0)
  248. soul.CanCollide = false
  249. soul.Anchored = false
  250. soul.Position = pos
  251. soul.CFrame = CFrame.new(pos.X,pos.Y,pos.Z)
  252. soul.Transparency = 1
  253. local ptc = Instance.new("ParticleEmitter",soul)
  254. ptc.Texture = "http://www.roblox.com/asset/?id=413366101"
  255. ptc.Size = NumberSequence.new(.5)
  256. ptc.LockedToPart = true
  257. ptc.Speed = NumberRange.new(0)
  258. ptc.Lifetime = NumberRange.new(9999)
  259. local bodpos = Instance.new("BodyPosition",soul)
  260. bodpos.Position = pos
  261. wait(2)
  262. soul.Touched:connect(function(hit)
  263. if hit.Parent == chara then
  264. soul:Destroy()
  265. end
  266. end)
  267. while soul do
  268. wait(.1)
  269. bodpos.Position = chara.Torso.Position
  270. end
  271. end)
  272. soulst()
  273. end
  274.  
  275. --Death of a Mortal--
  276. function KillMortal(hitdude)
  277. local torsy = nil
  278. if hitdude:FindFirstChild("Torso")~=nil then
  279. torsy = hitdude.Torso
  280. elseif hitdude:FindFirstChild("UpperTorso")~=nil then
  281. torsy = hitdude.UpperTorso
  282. end
  283. local val = Instance.new("ObjectValue",hitdude)
  284. val.Name = "HasBeenHit"
  285. hitdude:BreakJoints()
  286. hitdude.Humanoid:Destroy()
  287. SoulSteal(torsy.Position)
  288. local chi = hitdude:GetChildren()
  289. for i = 1, #chi do
  290. if chi[i].ClassName == "Part" or chi[i].ClassName == "MeshPart" then
  291. local bodpos = Instance.new("BodyPosition",chi[i])
  292. bodpos.Position = chi[i].Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  293. ScatterEff(chi[i])
  294. chi[i].BrickColor = BrickColor.new("Really black")
  295. end
  296. end
  297. for i = 1, 4 do
  298. for i = 1, #chi do
  299. if chi[i].ClassName == "Part" or chi[i].ClassName == "MeshPart" then
  300. chi[i].Transparency = chi[i].Transparency + .25
  301. wait(.01)
  302. end
  303. end
  304. end
  305. for i = 1, #chi do
  306. if chi[i].ClassName == "Part" or chi[i].ClassName == "MeshPart" then
  307. chi[i]:Destroy()
  308. end
  309. end
  310. end
  311.  
  312.  
  313. function Teleport(pos)
  314. telesnd:Play()
  315. local ch = chara:GetChildren()
  316. for i = 1, #ch do
  317. if ch[i].ClassName == "Part" and ch[i].Name ~= "HumanoidRootPart" then
  318. local trace = Instance.new("Part",game.Workspace)
  319. trace.Size = ch[i].Size
  320. trace.Material = "Neon"
  321. trace.BrickColor = BrickColor.new("Really black")
  322. trace.Transparency = .3
  323. trace.CanCollide = false
  324. trace.Anchored = true
  325. trace.CFrame = ch[i].CFrame
  326. if ch[i].Name == "Head" then
  327. mehs = Instance.new("CylinderMesh",trace)
  328. mehs.Scale = Vector3.new(1.25,1.25,1.25)
  329. end
  330. tracedisappear = coroutine.wrap(function()
  331. wait(1)
  332. for i = 1, 7 do
  333. wait(.1)
  334. trace.Transparency = trace.Transparency + .1
  335. end
  336. trace:Destroy()
  337. end)
  338. tracedisappear()
  339. end
  340. end
  341. chara.Torso.CFrame = CFrame.new(pos.X,pos.Y,pos.Z)
  342. end
  343.  
  344.  
  345. function Grab(mouse)
  346. local hit = mouse.Target
  347. if hit ~= nil then
  348. if hit.Parent:FindFirstChild("Humanoid")~=nil then
  349. local torsy = nil
  350. if hit.Parent:FindFirstChild("Torso")~=nil then
  351. torsy = hit.Parent.Torso
  352. elseif hit.Parent:FindFirstChild("UpperTorso")~=nil then
  353. torsy = hit.Parent.UpperTorso
  354. end
  355. local bodpos = Instance.new("BodyPosition",torsy)
  356. bodpos.Position = torsy.Position
  357. wait(1)
  358. burnsnd:Play()
  359. hit.Parent.Humanoid.MaxHealth = 100
  360. bodpos.Position = bodpos.Position + Vector3.new(0,4,0)
  361. for i = 1, 10 do
  362. wait(.1)
  363. BurningEff(torsy)
  364. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 10
  365. end
  366. KillMortal(hit.Parent)
  367. end
  368. else end
  369. end
  370.  
  371.  
  372. function onKeyDown(key)
  373. if key == "z" then
  374. Teleport(Mouse.Hit.p + Vector3.new(0,2,0))
  375. elseif key == "x" then
  376. Grab(Mouse)
  377. end
  378. end
  379.  
  380. --Mouse Functions--
  381. Mouse = player:GetMouse()
  382. if Mouse then
  383. Mouse.KeyDown:connect(onKeyDown)
  384. end
  385.  
  386. while true do
  387. wait(.01)
  388. chance = math.random(0,100)
  389. if chance < 10 then
  390. sel = math.random(1,3)
  391. if sel == 1 then
  392. tecks.Text = "Stan"
  393. elseif sel == 2 then
  394. tecks.Text = "Stan"
  395. elseif sel == 3 then
  396. tecks.Text = "Stan"
  397. end
  398. else tecks.Text = "Stan"
  399. if chara.Humanoid.Health > 0 then
  400. chara.Humanoid.MaxHealth = math.huge
  401. chara.Humanoid.Health = math.huge
  402. end
  403. if game.Lighting:FindFirstChild("ColorCorrection") == nil then
  404. local l = Instance.new("ColorCorrectionEffect",game.Lighting)
  405. l.Contrast,l.Saturation,l.Brightness = 2, -0.75, 0.375
  406. l.TintColor = Color3.new(1,0,0)
  407. end
  408. tecks.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  409. end
  410. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement