Advertisement
lafur

Untitled

Sep 19th, 2018
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.52 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 mouse = game.Players.timetodie23232223:GetMouse()
  6.  
  7. game:GetService("Chat"):Chat(Workspace.attallamulya.Head,"It's time for me to end your life now, because you abuse me, you're dead...")
  8. wait()
  9. game:GetService("Chat"):Chat(Workspace.attallamulya.Head,"SUSANOO!")
  10. wait(1)
  11.  
  12. Workspace.attallamulya.Humanoid.MaxHealth = math.huge
  13. Workspace.attallamulya.Humanoid.WalkSpeed = 30
  14. Workspace.attallamulya["Left Arm"].BrickColor = BrickColor.new("Cool yellow")
  15. Workspace.attallamulya.Torso.BrickColor = BrickColor.new("Cool yellow")
  16. Workspace.attallamulya.Head.BrickColor = BrickColor.new("Cool yellow")
  17. Workspace.attallamulya["Right Arm"].BrickColor = BrickColor.new("Cool yellow")
  18. Workspace.attallamulya["Left Leg"].BrickColor = BrickColor.new("Cool yellow")
  19. Workspace.attallamulya["Right Leg"].BrickColor = BrickColor.new("Cool yellow")
  20.  
  21.  
  22. -- Main
  23. Handle = Instance.new("Part",Workspace.attallamulya)
  24. Handle.TopSurface = "Smooth"
  25. Handle.BottomSurface = "Smooth"
  26. Handle.CanCollide = True
  27. Handle.BrickColor = BrickColor.new("White")
  28. Handle.Reflectance = 0.3
  29. Handle.Transparency = 0.3
  30. local HandleMesh = Instance.new("SpecialMesh",Handle) HandleMesh.MeshType = "FileMesh" HandleMesh.MeshId = "http://www.roblox.com/asset/?id=36780113"
  31. HandleMesh.Scale = Vector3.new(10, 15, 10)
  32. Weld = Instance.new("Weld",Workspace.attallamulya)
  33. Weld.Part0 = game.Workspace.attallamulya["Torso"]
  34. Weld.Part1 = Handle
  35. Weld.C1 = CFrame.new(0, -3, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  36.  
  37. RA = Instance.new("Part",Workspace.attallamulya)
  38. RA.TopSurface = "Smooth"
  39. RA.BottomSurface = "Smooth"
  40. RA.CanCollide = True
  41. RA.BrickColor = BrickColor.new("White")
  42. RA.Reflectance = 0.3
  43. RA.Transparency = 0.3
  44. local RAMesh = Instance.new("SpecialMesh",RA) RAMesh.MeshType = "FileMesh" RAMesh.MeshId = "http://www.roblox.com/asset/?id=36780156"
  45. RAMesh.Scale = Vector3.new(5, 8, 10)
  46. Weld = Instance.new("Weld",Workspace.attallamulya)
  47. Weld.Part0 = game.Workspace.attallamulya["Torso"]
  48. Weld.Part1 = RA
  49. Weld.C1 = CFrame.new(-13, -3, -2)*CFrame.fromEulerAnglesXYZ(0, 0, -.4)
  50.  
  51. LA = Instance.new("Part",Workspace.attallamulya)
  52. LA.TopSurface = "Smooth"
  53. LA.BottomSurface = "Smooth"
  54. LA.CanCollide = True
  55. LA.BrickColor = BrickColor.new("White")
  56. LA.Reflectance = 0.3
  57. LA.Transparency = 0.3
  58. local LAMesh = Instance.new("SpecialMesh",LA) LAMesh.MeshType = "FileMesh" LAMesh.MeshId = "http://www.roblox.com/asset/?id=36780032"
  59. LAMesh.Scale = Vector3.new(5, 8, 10)
  60. Weld = Instance.new("Weld",Workspace.attallamulya)
  61. Weld.Part0 = game.Workspace.attallamulya["Torso"]
  62. Weld.Part1 = LA
  63. Weld.C1 = CFrame.new(13, -3, -2)*CFrame.fromEulerAnglesXYZ(0, 0, .4)
  64.  
  65. Head = Instance.new("Part",Workspace.attallamulya)
  66. Head.TopSurface = "Smooth"
  67. Head.BottomSurface = "Smooth"
  68. Head.CanCollide = True
  69. Head.BrickColor = BrickColor.new("White")
  70. Head.Reflectance = 0.3
  71. Head.Transparency = 0.3
  72. local HeadMesh = Instance.new("SpecialMesh",Head) HeadMesh.MeshType = "FileMesh" HeadMesh.MeshId = "http://www.roblox.com/asset/?id=62719736"
  73. HeadMesh.Scale = Vector3.new(5, 5, 5)
  74. Weld = Instance.new("Weld",Workspace.attallamulya)
  75. Weld.Part0 = game.Workspace.attallamulya["Torso"]
  76. Weld.Part1 = Head
  77. Weld.C1 = CFrame.new(0, -23, 3)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  78.  
  79. Katana = Instance.new("Part",Workspace.attallamulya)
  80. Katana.TopSurface = "Smooth"
  81. Katana.BottomSurface = "Smooth"
  82. Katana.CanCollide = True
  83. Katana.BrickColor = BrickColor.new("Really black")
  84. Katana.Reflectance = 0.3
  85. Katana.Transparency = 0.3
  86. local KatanaMesh = Instance.new("SpecialMesh",Katana) KatanaMesh.MeshType = "FileMesh" KatanaMesh.MeshId = "http://www.roblox.com/asset/?id=11442510"
  87. KatanaMesh.Scale = Vector3.new(10, 10, 10)
  88. Weld = Instance.new("Weld",Workspace.attallamulya)
  89. Weld.Part0 = game.Workspace.attallamulya["Torso"]
  90. Weld.Part1 = Katana
  91. Weld.C1 = CFrame.new(-14, 0, -10)*CFrame.fromEulerAnglesXYZ(-10, 0, 0)
  92.  
  93. Sphere = Instance.new("Part",Workspace.attallamulya)
  94. Sphere.TopSurface = "Smooth"
  95. Sphere.BottomSurface = "Smooth"
  96. Sphere.CanCollide = True
  97. Sphere.BrickColor = BrickColor.new("White")
  98. Sphere.Reflectance = 0.3
  99. Sphere.Transparency = 0.3
  100. local SphereMesh = Instance.new("SpecialMesh",Sphere)
  101. SphereMeshType = "Sphere"
  102. SphereMesh.Scale = Vector3.new(4, 6, 4)
  103. Weld = Instance.new("Weld",Workspace.attallamulya)
  104. Weld.Part0 = game.Workspace.attallamulya["Torso"]
  105. Weld.Part1 = Sphere
  106. Weld.C1 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  107.  
  108. H = Instance.new("Part",Workspace.attallamulya)
  109. H.TopSurface = "Smooth"
  110. H.BottomSurface = "Smooth"
  111. H.CanCollide = True
  112. H.BrickColor = BrickColor.new("Really White")
  113. local HMesh = Instance.new("SpecialMesh",H) HMesh.MeshType = "FileMesh" HMesh.MeshId = "http://www.roblox.com/asset/?id=62246019"
  114. HMesh.Scale = Vector3.new(1, 1, 1)
  115. Weld = Instance.new("Weld",Workspace.attallamulya)
  116. Weld.Part0 = game.Workspace.attallamulya["Torso"]
  117. Weld.Part1 = H
  118. Weld.C1 = CFrame.new(0, -1.7, -.2)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  119.  
  120.  
  121. Shield = Instance.new("ForceField",Workspace.attallamulya)
  122.  
  123. Shirt = Instance.new("Shirt",Character)
  124.  
  125. Shirt.Parent = game.Workspace.attallamulya
  126.  
  127. Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=77026846"
  128.  
  129.  
  130. Pant = Instance.new("Pants",Character)
  131.  
  132. Pant.Parent = game.Workspace.attallamulya
  133.  
  134. Pant.PantsTemplate = "http://www.roblox.com/asset/?id=89662457"
  135.  
  136.  
  137.  
  138. --kill
  139. Sphere.Touched:connect(function(hit)
  140. if hit.Parent:FindFirstChild("Humanoid") then
  141. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(25)
  142. end
  143. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement