Advertisement
Baldeagle22

noob (6)

Sep 14th, 2018
389
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.23 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 made by SoulCah | Dennis <3")
  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()}
  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. 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 = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local Mouse = Player:GetMouse()
  66. local UIS = game:GetService("UserInputService")
  67. local input = function(io,a)
  68. if a then return end
  69. --Since InputObject is a client-side instance, we create and pass table instead
  70. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  71. end
  72. UIS.InputBegan:Connect(input)
  73. UIS.InputEnded:Connect(input)
  74.  
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84.  
  85. ----Sandboxed game object that allows the usage of client-side methods and services
  86. --Real game object
  87. local _rg = game
  88.  
  89. --Metatable for fake service
  90. local fsmt = {
  91. __index = function(self,k)
  92. local s = rawget(self,"_RealService")
  93. if s then return s[k] end
  94. end,
  95. __newindex = function(self,k,v)
  96. local s = rawget(self,"_RealService")
  97. if s then s[k]=v end
  98. end,
  99. __call = function(self,...)
  100. local s = rawget(self,"_RealService")
  101. if s then return s(...) 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 self[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. }
  120. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  121. g.service = g.GetService
  122.  
  123. g.RunService = FakeService({
  124. RenderStepped = _rg:GetService("RunService").Heartbeat,
  125. BindToRenderStep = function(self,name,_,fun)
  126. self._btrs[name] = self.Heartbeat:Connect(fun)
  127. end,
  128. UnbindFromRenderStep = function(self,name)
  129. self._btrs[name]:Disconnect()
  130. end,
  131. },"RunService")
  132.  
  133. setmetatable(g,{
  134. __index=function(self,s)
  135. return _rg:GetService(s) or typeof(_rg[s])=="function"
  136. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  137. end,
  138. __newindex = fsmt.__newindex,
  139. __call = fsmt.__call
  140. })
  141. --Changing owner to fake player object to support owner:GetMouse()
  142. game,owner = g,g.Players.LocalPlayer
  143. end
  144. wait(1 / 60)
  145. Effects = { }
  146. local Player = game.Players.localPlayer
  147. local Character = Player.Character
  148. local Humanoid = Character.Humanoid
  149. local Mouse = Player:GetMouse()
  150. local LeftArm = Character["Left Arm"]
  151. local RightArm = Character["Right Arm"]
  152. local LeftLeg = Character["Left Leg"]
  153. local RightLeg = Character["Right Leg"]
  154. local Head = Character.Head
  155. local Torso = Character.Torso
  156. local Camera = game.Workspace.CurrentCamera
  157. local RootPart = Character.HumanoidRootPart
  158. local RootJoint = RootPart.RootJoint
  159. local attack = false
  160. local Anim = 'Idle'
  161. local attacktype = 1
  162. local delays = false
  163. local play = true
  164. local targetted = nil
  165. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  166. local velocity = RootPart.Velocity.y
  167. local sine = 0
  168. local change = 1
  169. local doe = 0
  170. local Create = LoadLibrary("RbxUtility").Create
  171.  
  172. wait()
  173.  
  174. local plr = owner
  175. print('Local User is '..plr.Name)
  176. print('Blight Loaded')
  177. print('Let justice be done, though the heavens fall.')
  178. local char = plr.Character
  179. local hum = char.Humanoid
  180. local hed = char.Head
  181. local root = char.HumanoidRootPart
  182. local rootj = root.RootJoint
  183. local tors = char.Torso
  184. local ra = char["Right Arm"]
  185. local la = char["Left Arm"]
  186. local rl = char["Right Leg"]
  187. local ll = char["Left Leg"]
  188. local neck = tors["Neck"]
  189. local mouse = plr:GetMouse()
  190. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  191. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  192. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  193. local maincolor = BrickColor.new("Really black")
  194.  
  195. -------------------------------------------------------
  196. --Start Good Stuff--
  197. -------------------------------------------------------
  198. cam = game.Workspace.CurrentCamera
  199. CF = CFrame.new
  200. angles = CFrame.Angles
  201. attack = false
  202. Euler = CFrame.fromEulerAnglesXYZ
  203. Rad = math.rad
  204. IT = Instance.new
  205. BrickC = BrickColor.new
  206. Cos = math.cos
  207. Acos = math.acos
  208. Sin = math.sin
  209. Asin = math.asin
  210. Abs = math.abs
  211. Mrandom = math.random
  212. Floor = math.floor
  213. Humanoid.WalkSpeed = 8
  214. local m = Create("Model"){
  215. Parent = Character,
  216. Name = "WeaponModel",
  217. }
  218. local Orin = "rbxassetid://"
  219. Head.face.Texture = Orin
  220. spawn(function()
  221. while wait() do
  222. Head.BrickColor = BrickColor.new(math.random(), math.random(), math.random())
  223. RightArm.BrickColor = BrickColor.new(math.random(), math.random(), math.random())
  224. LeftArm.BrickColor = BrickColor.new(math.random(), math.random(), math.random())
  225. Torso.BrickColor = BrickColor.new(math.random(), math.random(), math.random())
  226. RightLeg.BrickColor = BrickColor.new(math.random(), math.random(), math.random())
  227. LeftLeg.BrickColor = BrickColor.new(math.random(), math.random(), math.random())
  228.  
  229. end
  230. end)
  231.  
  232. -------------------------------------------------------
  233. --Start Customization--
  234. -------------------------------------------------------
  235. local Player_Size = 1.4
  236. if Player_Size ~= 1 then
  237. root.Size = root.Size * Player_Size
  238. tors.Size = tors.Size * Player_Size
  239. hed.Size = hed.Size * Player_Size
  240. ra.Size = ra.Size * Player_Size
  241. la.Size = la.Size * Player_Size
  242. rl.Size = rl.Size * Player_Size
  243. ll.Size = ll.Size * Player_Size
  244. ----------------------------------------------------------------------------------
  245. rootj.Parent = root
  246. neck.Parent = tors
  247. RW.Parent = tors
  248. LW.Parent = tors
  249. RH.Parent = tors
  250. LH.Parent = tors
  251. ----------------------------------------------------------------------------------
  252. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  253. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  254. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  255. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  256. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  257. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  258. ----------------------------------------------------------------------------------
  259. RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  260. LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  261. RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  262. LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  263. --hat.Parent = Character
  264. end
  265. ----------------------------------------------------------------------------------
  266. local SONG = 1066344174
  267. local SONG2 = 0
  268. local Music = Instance.new("Sound",tors)
  269. Music.Volume = 2.5
  270. Music.Looped = true
  271. Music.Pitch = 1 --Pitcher
  272. ----------------------------------------------------------------------------------
  273. local equipped = false
  274. local idle = 0
  275. local change = 1
  276. local val = 0
  277. local toim = 0
  278. local idleanim = 0.4
  279. local sine = 0
  280. local Sit = 1
  281. local VALUE1 = false
  282. local VALUE2 = false
  283. local HOLD = false
  284. local KEYHOLD = false
  285. ----------------------------------------------------------------------------------
  286. hum.WalkSpeed = 18
  287. hum.JumpPower = 130
  288. hum.Animator.Parent = nil
  289. ----------------------------------------------------------------------------------
  290. local naeeym2 = IT("BillboardGui",char)
  291. naeeym2.AlwaysOnTop = true
  292. naeeym2.Size = UDim2.new(5,35,2,15)
  293. naeeym2.StudsOffset = Vector3.new(0,2,0)
  294. naeeym2.MaxDistance = 75
  295. naeeym2.Adornee = hed
  296. naeeym2.Name = "Name"
  297. --naeeym2.PlayerToHideFrom = Player
  298. local tecks2 = IT("TextLabel",naeeym2)
  299. tecks2.BackgroundTransparency = 1
  300. tecks2.TextScaled = true
  301. tecks2.BorderSizePixel = 0
  302. tecks2.Text = "FrEaKy DuDe!"
  303. tecks2.Font = "Fantasy"
  304. tecks2.TextSize = 30
  305. tecks2.TextStrokeTransparency = 0
  306. tecks2.TextColor3 = Color3.fromRGB(math.random(), math.random(), math.random())
  307. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  308. tecks2.Size = UDim2.new(1,0,0.5,0)
  309. tecks2.Parent = naeeym2
  310. local top = Instance.new("Shirt")
  311. top.ShirtTemplate = "rbxassetid://228794266"
  312. top.Parent = char
  313. top.Name = "Cloth"
  314. local bottom = Instance.new("Pants")
  315. bottom.PantsTemplate = "rbxassetid://228794877"
  316. bottom.Parent = char
  317. bottom.Name = "Cloth"
  318. Reaper = IT("Model")
  319. Reaper.Parent = char
  320. Reaper.Name = "Reaper"
  321. RHe = IT("Part")
  322. RHe.Parent = Reaper
  323. RHe.BrickColor = BrickColor.new("Really black")
  324. RHe.Locked = true
  325. RHe.CanCollide = false
  326. RHe.Transparency = 0
  327. PMesh = IT("SpecialMesh")
  328. RHe.formFactor = "Symmetric"
  329. PMesh.MeshType = "FileMesh"
  330. PMesh.MeshId = "rbxassetid://124631026"
  331. PMesh.TextureId = "rbxassetid://151576107"
  332. PMesh.Scale = Vector3.new(3.01, 3.01, 3.01)
  333. PMesh.Parent = RHe
  334. local RWeld = IT("Weld")
  335. RWeld.Parent = RHe
  336. RWeld.Part0 = RHe
  337. RWeld.Part1 = hed
  338. RWeld.C0 = CF(0, 1.5, 0) * angles(0, 0, 0)
  339. hed.face:Remove()
  340. ----------------------------------------------------------------------------------
  341. PlayerGui = plr.PlayerGui
  342. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  343. WEAPONGUI.Name = "Weapon GUI"
  344.  
  345. local SKILLTEXTCOLOR = Color3.new(0,0,0)
  346. local SKILLFONT = "Antique"
  347. local SKILLTEXTSIZE = 6
  348.  
  349. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 1 Frame")
  350. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 2 Frame")
  351. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.82, 0), UD2(0.26, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 3 Frame")
  352. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.78, 0), UD2(0.26, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 4 Frame")
  353. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.74, 0), UD2(0.26, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 5 Frame")
  354.  
  355. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Shadow's Victory", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 1")
  356. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Eruption", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 2")
  357. --local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Chaos", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 3")
  358. --local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Death's Wish", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 4")
  359. --local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Shadows Whisper", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 5")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement