Advertisement
Mitko1223tm

KONO DIO DA

Jul 27th, 2020
277
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.88 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  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 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})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  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. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86.  
  87.  
  88. local p = Owner
  89. local char = p.Character
  90. local hed = char.Head
  91. local LocalPlayer = p
  92.  
  93. local Player = Owner
  94. local Character = p.Character
  95.  
  96. local LeftArm2 = Character["Left Arm"]
  97. local RightArm2 = Character["Right Arm"]
  98. local LeftLeg2 = Character["Left Leg"]
  99. local RightLeg2 = Character["Right Leg"]
  100. local Head2 = Character.Head
  101. local Torso2 = Character.Torso
  102.  
  103. local player = Owner
  104. local shirt = player.Character:WaitForChild("Shirt")
  105. local pants = player.Character:WaitForChild("Pants")
  106.  
  107. wait()
  108. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=536831523"
  109. pants.PantsTemplate = "http://www.roblox.com/asset/?id=547264976"
  110.  
  111. char.Humanoid.MaxHealth = math.huge
  112. char.Humanoid.Health = math.huge
  113.  
  114. for i,v in pairs(char:GetChildren()) do
  115. if v.ClassName == "Accessory" or v.ClassName == "Hat" then
  116. v:destroy()
  117. end
  118. end
  119.  
  120. local Hair = Instance.new("Part")
  121. Hair.Parent = char
  122. Hair.Name = "Hair"
  123. Hair.Size = Vector3.new(1, 1, 1)
  124. Hair.CFrame = char.Head.CFrame
  125. Hair:BreakJoints()
  126. Hair.CanCollide = false
  127. Hair.TopSurface = "Smooth"
  128. Hair.BottomSurface = "Smooth"
  129. Hair.BrickColor = BrickColor.new("Gold")
  130. Weld = Instance.new("Weld")
  131. Weld.Name = "Weld"
  132. Weld.Part0 = char.Head
  133. Weld.Part1 = Hair
  134. Weld.Parent = char.Head
  135. Weld.C0 = CFrame.new(0.1,0,0.2)*CFrame.fromEulerAnglesXYZ(0,0,0)
  136. Mesh = Instance.new("SpecialMesh")
  137. Mesh.Parent = Hair
  138. Mesh.MeshId = "rbxassetid://886288384"
  139. Mesh.TextureId = "rbxassetid://886289004"
  140. Mesh.Scale = Vector3.new(0.11,0.1,0.08)
  141.  
  142. cut = Instance.new("Sound", Character)
  143. cut.SoundId = "https://www.roblox.com/asset/?id=97095069"
  144. cut.Volume = 1.5
  145. thri = Instance.new("Sound", Character)
  146. thri.SoundId = "https://www.roblox.com/asset/?id=186311262"
  147. thri.Volume = 2.5
  148. WRY = Instance.new("Sound", Character)
  149. WRY.SoundId = "https://www.roblox.com/asset/?id=910713928"
  150. WRY.Volume = 5
  151.  
  152. ff = Instance.new("ForceField", game.Players.LocalPlayer.Character)
  153. ff.Visible = false
  154.  
  155. local Players=game:service'Players'
  156. local Player=Players.LocalPlayer
  157. local RenderStepped=game:service'RunService'.RenderStepped
  158.  
  159. local MeshId='http://www.roblox.com/asset?id=202083123'
  160. local TextureId='http://www.roblox.com/asset/?id=189436355'
  161.  
  162. local KnifeSpeed= 120
  163.  
  164. Mouse.Button1Down:connect(function()
  165. cut:Play()
  166. if Mouse.Target then
  167. local Knife=Instance.new('Part',Player.Character)
  168. Knife.CanCollide=false
  169. Knife.Size=Vector3.new(2,2,2)
  170. Knife.CFrame=Player.Character.Torso.CFrame
  171. local KnifeMesh=Instance.new('SpecialMesh',Knife)
  172. KnifeMesh.MeshType='FileMesh'
  173. KnifeMesh.MeshId=MeshId
  174. KnifeMesh.TextureId=TextureId
  175. KnifeMesh.Scale=Vector3.new(1,1,1)
  176. local BodyVel=Instance.new('BodyVelocity',Knife)
  177. BodyVel.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  178. local BodyGyro=Instance.new('BodyGyro',Knife)
  179. BodyGyro.maxTorque=Vector3.new(math.huge,math.huge,math.huge)
  180. BodyGyro.P=2e4
  181. coroutine.wrap(function()
  182. RenderStepped:connect(function()
  183. BodyGyro.cframe=CFrame.new(Knife.Position,Mouse.Hit.p)
  184. BodyVel.velocity=Knife.CFrame.lookVector*KnifeSpeed
  185. end)
  186. end)()
  187. Knife.Touched:connect(function(p)
  188. if p.Parent~=Player.Character and p.Parent:FindFirstChild'Humanoid' then
  189. p.Parent:BreakJoints()
  190. Knife:Destroy''
  191. thri:Play()
  192. end
  193. end)
  194. end
  195. end)
  196.  
  197.  
  198. sound = Instance.new("Sound", Character)
  199. sound.SoundId = "https://www.roblox.com/asset/?id=840567549"
  200. sound.Volume = 2.5
  201. sound2 = Instance.new("Sound", Character)
  202. sound2.SoundId = "https://www.roblox.com/asset/?id=616594208"
  203. sound2.Volume = 2.5
  204. sound3 = Instance.new("Sound", Character)
  205. sound3.SoundId = "https://www.roblox.com/asset/?id=616576400"
  206. sound3.Volume = 1.8
  207. sound4 = Instance.new("Sound", Character)
  208. sound4.SoundId = "https://www.roblox.com/asset/?id=616576400"
  209. sound4.Volume = 2
  210. TSTheme = Instance.new("Sound", Character)
  211. TSTheme.SoundId = "https://www.roblox.com/asset/?id=910713928"
  212. TSTheme.Volume = 2
  213. canworld = true
  214. mse.KeyDown:connect(function(key)
  215. key = key:lower()
  216. if key == "t" then
  217. if canworld == false then return end
  218. if canworld then
  219. canworld = false
  220. sound3:Play()
  221. sound:Play()
  222. sound4:Play()
  223. TSTheme:Play()
  224.  
  225. local function spawnpart()
  226. sphere = Instance.new("Part")
  227. --game.Debris:AddItem(sphere,3)
  228. local sm = Instance.new("SpecialMesh", sphere)
  229. sm.MeshType = "Sphere"
  230. sphere.Transparency = 0.5
  231. sphere.Anchored = true
  232. sphere.CanCollide = false
  233. sphere.Material = "Neon"
  234. sphere.BrickColor = BrickColor.new("Black")
  235. end
  236.  
  237. local function weld(lol)
  238. local weld = Instance.new("Weld", Player.Character.Torso)
  239. weld.Part0 = Player.Character.Torso
  240. weld.Part1 = lol
  241. weld.C0 = Player.Character.Torso.CFrame:inverse()
  242. weld.C1 = lol.CFrame:inverse()
  243. end
  244. wait()
  245. spawnpart()
  246. for i, v in pairs(game.Players:GetChildren()) do
  247. t = v.Character:FindFirstChild("Torso")
  248. if t then
  249. t.Anchored = true
  250. Player.Character:FindFirstChild("Torso").Anchored = false
  251. end
  252. RA = v.Character:FindFirstChild("Right Arm")
  253. if RA then
  254. RA.Anchored = true
  255. Player.Character:FindFirstChild("Right Arm").Anchored = false
  256. end
  257. LA = v.Character:FindFirstChild("Left Arm")
  258. if LA then
  259. LA.Anchored = true
  260. Player.Character:FindFirstChild("Left Arm").Anchored = false
  261. end
  262. RL = v.Character:FindFirstChild("Right Leg")
  263. if RL then
  264. RL.Anchored = true
  265. Player.Character:FindFirstChild("Right Leg").Anchored = false
  266. end
  267. LL = v.Character:FindFirstChild("Left Leg")
  268. if LL then
  269. LL.Anchored = true
  270. Player.Character:FindFirstChild("Left Leg").Anchored = false
  271. end
  272. end
  273. weld(sphere)
  274. cce = Instance.new("ColorCorrectionEffect", game.Lighting)
  275. cce.Saturation = -5
  276. --game.Debris:AddItem(cce, 5)
  277. sphere.Parent = Character.Torso
  278. for i = 1,3 do
  279. sphere.Size = sphere.Size + Vector3.new(50,50,50)
  280. wait()
  281. end
  282. wait()
  283. sphere:Destroy()
  284. KnifeSpeed = 0
  285. cce.Saturation = -0.1
  286. wait(0.3)
  287. cce.Saturation = -0.2
  288. wait(0.3)
  289. cce.Saturation = -0.3
  290. wait(0.2)
  291. cce.Saturation = -1.5
  292. wait()
  293. end
  294. end
  295. end
  296. )
  297.  
  298. mse.KeyDown:connect(function(key)
  299. key = key:lower()
  300. if key == "y" then
  301. canworld = true
  302. sound2:Play()
  303. wait()
  304. KnifeSpeed = 1
  305. cce.Saturation = -1.3
  306. wait(0.5)
  307. KnifeSpeed = 1.2
  308. cce.Saturation = -0.5
  309. wait(0.5)
  310. KnifeSpeed = 1.4
  311. cce.Saturation = -0.4
  312. wait(0.3)
  313. KnifeSpeed = 1.5
  314. cce.Saturation = -0.2
  315. wait(0.2)
  316. cce.Saturation = 0
  317.  
  318. for i, v in pairs(game.Players:GetChildren()) do
  319. t = v.Character:FindFirstChild("Torso")
  320. if t then
  321. t.Anchored = false
  322. end
  323. RA = v.Character:FindFirstChild("Right Arm")
  324. if RA then
  325. RA.Anchored = false
  326. end
  327. LA = v.Character:FindFirstChild("Left Arm")
  328. if LA then
  329. LA.Anchored = false
  330. end
  331. RL = v.Character:FindFirstChild("Right Leg")
  332. if RL then
  333. RL.Anchored = false
  334. end
  335. LL = v.Character:FindFirstChild("Left Leg")
  336. if LL then
  337. LL.Anchored = false
  338. end
  339. end
  340. KnifeSpeed = 120
  341. TSTheme:Stop()
  342. end
  343. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement