Advertisement
SHADOWCRAFTER666

ZA WARUDO FE

Sep 26th, 2018
690
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.06 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,Mouse,mouse,UserInputService,ContextActionService = owner
  3. do
  4. print("FE Compatibility code by Mokiros | Translated to FE by SHADOWCRAFTER666 (Nobody#4931)")
  5. script.Parent = Player.Character
  6.  
  7. --RemoteEvent for communicating
  8. local Event = Instance.new("RemoteEvent")
  9. Event.Name = "UserInput_Event"
  10.  
  11. --Fake event to make stuff like Mouse.KeyDown work
  12. local function fakeEvent()
  13. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  14. t.connect = t.Connect
  15. return t
  16. end
  17.  
  18. --Creating fake input objects with fake variables
  19. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  20. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  21. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  22. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  23. end}
  24. --Merged 2 functions into one by checking amount of arguments
  25. CAS.UnbindAction = CAS.BindAction
  26.  
  27. --This function will trigger the events that have been :Connect()'ed
  28. local function te(self,ev,...)
  29. local t = m[ev]
  30. if t and t._fakeEvent and t.Function then
  31. t.Function(...)
  32. end
  33. end
  34. m.TrigEvent = te
  35. UIS.TrigEvent = te
  36.  
  37. Event.OnServerEvent:Connect(function(plr,io)
  38. if plr~=Player then return end
  39. if io.isMouse then
  40. m.Target = io.Target
  41. m.Hit = io.Hit
  42. else
  43. local b = io.UserInputState == Enum.UserInputState.Begin
  44. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  45. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  46. end
  47. for _,t in pairs(CAS.Actions) do
  48. for _,k in pairs(t.Keys) do
  49. if k==io.KeyCode then
  50. t.Function(t.Name,io.UserInputState,io)
  51. end
  52. end
  53. end
  54. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  55. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  56. end
  57. end)
  58. Event.Parent = NLS([==[
  59. local Player = game:GetService("Players").LocalPlayer
  60. local Event = script:WaitForChild("UserInput_Event")
  61.  
  62. local UIS = game:GetService("UserInputService")
  63. local input = function(io,a)
  64. if a then return end
  65. --Since InputObject is a client-side instance, we create and pass table instead
  66. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  67. end
  68. UIS.InputBegan:Connect(input)
  69. UIS.InputEnded:Connect(input)
  70.  
  71. local Mouse = Player:GetMouse()
  72. local h,t
  73. --Give the server mouse data 30 times every second, but only if the values changed
  74. --If player is not moving their mouse, client won't fire events
  75. while wait(1/30) do
  76. if h~=Mouse.Hit or t~=Mouse.Target then
  77. h,t=Mouse.Hit,Mouse.Target
  78. Event:FireServer({isMouse=true,Target=t,Hit=h})
  79. end
  80. end]==],Player.Character)
  81. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  82. end
  83.  
  84.  
  85. ------------------------------------------------------------------- SCRIPT STARTS HERE ---------------------------------------------------------------------------------------------
  86.  
  87. local p = owner
  88. local char = p.Character
  89. local hed = char.Head
  90. local LocalPlayer = p
  91.  
  92. local naeeym = Instance.new("BillboardGui",char)
  93. naeeym.Size = UDim2.new(0,100,0,40)
  94. naeeym.StudsOffset = Vector3.new(0,5,0)
  95. naeeym.Adornee = char.Head
  96. local tecks = Instance.new("TextLabel",naeeym)
  97. tecks.BackgroundTransparency = 1
  98. tecks.BorderSizePixel = 0
  99. tecks.Text = LocalPlayer.Name
  100. tecks.Font = "ArialBold"
  101. tecks.FontSize = "Size24"
  102. tecks.TextStrokeTransparency = 0
  103. tecks.TextStrokeColor3 = Color3.new(0,0,0)
  104. tecks.TextColor3 = Color3.new(255,255,255)
  105. tecks.Size = UDim2.new(1,0,0.5,0)
  106.  
  107. local Player = owner
  108. local Character = p.Character
  109. local LeftArm2 = Character["Left Arm"]
  110. local RightArm2 = Character["Right Arm"]
  111. local LeftLeg2 = Character["Left Leg"]
  112. local RightLeg2 = Character["Right Leg"]
  113. local Head2 = Character.Head
  114. local Torso2 = Character.Torso
  115.  
  116. --created by SoldierJoao
  117. --Credits to metabee for the knives edit
  118. cut = Instance.new("Sound", Character)
  119. cut.SoundId = "https://www.roblox.com/asset/?id=97095069"
  120. cut.Volume = 1.5
  121. thri = Instance.new("Sound", Character)
  122. thri.SoundId = "https://www.roblox.com/asset/?id=186311262"
  123. thri.Volume = 2.5
  124. WRY = Instance.new("Sound", Character)
  125. WRY.SoundId = "https://www.roblox.com/asset/?id=276152532"
  126. WRY.Volume = 5
  127.  
  128. local Player=owner
  129.  
  130. local MeshId='http://www.roblox.com/asset?id=202083123'
  131. local TextureId='http://www.roblox.com/asset/?id=189436355'
  132.  
  133. sound = Instance.new("Sound", Character)
  134. sound.SoundId = "https://www.roblox.com/asset/?id=290807425"
  135. sound.Volume = 2.5
  136. sound2 = Instance.new("Sound", Character)
  137. sound2.SoundId = "https://www.roblox.com/asset/?id=290810519"
  138. sound2.Volume = 2.5
  139. sound3 = Instance.new("Sound", Character)
  140. sound3.SoundId = "https://www.roblox.com/asset/?id=290807377"
  141. sound3.Volume = 1.8
  142. sound4 = Instance.new("Sound", Character)
  143. sound4.SoundId = "https://www.roblox.com/asset/?id=290807397"
  144. sound4.Volume = 2
  145. TSTheme = Instance.new("Sound", Character)
  146. TSTheme.SoundId = "https://www.roblox.com/asset/?id=172374380"
  147. TSTheme.Volume = 2
  148. canworld = true
  149. Mouse.KeyDown:connect(function(k)
  150. key = k:lower()
  151. if key == "t" then
  152. if canworld == false then return end
  153. if canworld then
  154. canworld = false
  155. sound3:Play()
  156. tecks.Text = "ZA WARUDO!"
  157. wait(1)
  158. tecks.Text = "TOKI WO TOMARE!"
  159. wait(0.75)
  160. tecks.Text = LocalPlayer.Name
  161. sound:Play()
  162. sound4:Play()
  163. TSTheme:Play()
  164.  
  165. local function spawnpart()
  166. sphere = Instance.new("Part")
  167. --game.Debris:AddItem(sphere,3)
  168. local sm = Instance.new("SpecialMesh", sphere)
  169. sm.MeshType = "Sphere"
  170. sphere.Transparency = 0.5
  171. sphere.Anchored = true
  172. sphere.CanCollide = false
  173. sphere.Material = "Neon"
  174. sphere.BrickColor = BrickColor.new("Black")
  175. end
  176.  
  177. local function weld(lol)
  178. local weld = Instance.new("Weld", Player.Character.Torso)
  179. weld.Part0 = Player.Character.Torso
  180. weld.Part1 = lol
  181. weld.C0 = Player.Character.Torso.CFrame:inverse()
  182. weld.C1 = lol.CFrame:inverse()
  183. end
  184. wait()
  185. spawnpart()
  186. for i, v in pairs(game.Players:GetChildren()) do
  187. t = v.Character:FindFirstChild("Torso")
  188. if t then
  189. t.Anchored = true
  190. Player.Character:FindFirstChild("Torso").Anchored = false
  191. end
  192. RA = v.Character:FindFirstChild("Right Arm")
  193. if RA then
  194. RA.Anchored = true
  195. Player.Character:FindFirstChild("Right Arm").Anchored = false
  196. end
  197. LA = v.Character:FindFirstChild("Left Arm")
  198. if LA then
  199. LA.Anchored = true
  200. Player.Character:FindFirstChild("Left Arm").Anchored = false
  201. end
  202. RL = v.Character:FindFirstChild("Right Leg")
  203. if RL then
  204. RL.Anchored = true
  205. Player.Character:FindFirstChild("Right Leg").Anchored = false
  206. end
  207. LL = v.Character:FindFirstChild("Left Leg")
  208. if LL then
  209. LL.Anchored = true
  210. Player.Character:FindFirstChild("Left Leg").Anchored = false
  211. end
  212. end
  213. weld(sphere)
  214. sphere.Parent = Character.Torso
  215. for i = 1,15 do
  216. sphere.Size = sphere.Size + Vector3.new(10,10,10)
  217. wait(0.05)
  218. end
  219. wait()
  220. sphere:Destroy()
  221. wait(0.5)
  222. wait()
  223. end
  224. end
  225. end
  226. )
  227.  
  228. tecks.Text = LocalPlayer.Name
  229.  
  230. Mouse.KeyDown:connect(function(k)
  231. key = k:lower()
  232. if key == "y" then
  233. if canworld == false then
  234. canworld = true
  235. tecks.Text = "Time continues moving again."
  236. sound2:Play()
  237. wait()
  238. wait(0.5)
  239. wait(0.5)
  240. wait(0.3)
  241. wait(0.2)
  242.  
  243. for i, v in pairs(game.Players:GetChildren()) do
  244. t = v.Character:FindFirstChild("Torso")
  245. if t then
  246. t.Anchored = false
  247. end
  248. RA = v.Character:FindFirstChild("Right Arm")
  249. if RA then
  250. RA.Anchored = false
  251. end
  252. LA = v.Character:FindFirstChild("Left Arm")
  253. if LA then
  254. LA.Anchored = false
  255. end
  256. RL = v.Character:FindFirstChild("Right Leg")
  257. if RL then
  258. RL.Anchored = false
  259. end
  260. LL = v.Character:FindFirstChild("Left Leg")
  261. if LL then
  262. LL.Anchored = false
  263. end
  264. end
  265. tecks.Text = LocalPlayer.Name
  266. TSTheme:Stop()
  267. end
  268. end
  269. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement