Advertisement
Saadastic

Untitled

Mar 14th, 2019
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.56 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")
  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").owner
  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. -- Blamo Berb --
  85.  
  86. wait()
  87. script.Parent = nil
  88. LoudVolume = false
  89. Submerged = false
  90. Music = true
  91. isTyping = false
  92. script.Name = "Berb"
  93. Player = game.Players.owner
  94. c = game.Players.owner.Character
  95. Head = c.Head
  96. anim = c.Humanoid.Animator
  97. c.Animate:remove()
  98. Humanoid = c:findFirstChild("Humanoid")
  99. Humanoid.Name = "Immortal"
  100. rage = false
  101. p = game.Players.LocalPlayer
  102. Music = false
  103. W = nil
  104. local Effects = {}
  105. attack = false
  106. local attacking = false
  107. vt = Vector3.new
  108. bc = BrickColor.new
  109. br = BrickColor.random
  110. it = Instance.new
  111. cf = CFrame.new
  112. euler = CFrame.fromEulerAnglesXYZ
  113. angles = CFrame.Angles
  114. matr = math.random
  115. mouse = Player:GetMouse()
  116.  
  117. RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  118. RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  119. LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  120. LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  121. RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  122. RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  123. LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  124. LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  125. NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  126. NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  127. RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  128. RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  129. RS = c.Torso:FindFirstChild("Right Shoulder")
  130. LS = c.Torso:FindFirstChild("Left Shoulder")
  131. RH = c.Torso:FindFirstChild("Right Hip")
  132. LH = c.Torso:FindFirstChild("Left Hip")
  133. RJ = c.HumanoidRootPart:FindFirstChild("RootJoint")
  134. N = c.Torso:FindFirstChild("Neck")
  135. cf = CFrame.new
  136. ang = CFrame.Angles
  137. rd = math.rad
  138. rd2 = math.random
  139.  
  140. function lerpz(joint, prop, cfrmz, alp)
  141. joint[prop] = joint[prop]:lerp(cfrmz, alp)
  142. end
  143. function resetlerp()
  144. RJ.C0 = RJC0
  145. RJ.C1 = RJC1
  146. N.C0 = NC0
  147. N.C1 = NC1
  148. RS.C0 = RSC0
  149. RS.C1 = RSC1
  150. LS.C0 = LSC0
  151. LS.C1 = LSC1
  152. RH.C0 = RHC0
  153. RH.C1 = RHC1
  154. LH.C0 = LHC0
  155. LH.C1 = LHC1
  156. end
  157.  
  158. function swait(num)
  159. if num==0 or num==nil then
  160. game:service'RunService'.Heartbeat:wait(0)
  161. else
  162. for i=0,num do
  163. game:service'RunService'.Heartbeat:wait(0)
  164. end
  165. end
  166. end
  167.  
  168. game:GetService('UserInputService').InputBegan:connect(function(InputObj)
  169. if InputObj.KeyCode == Enum.KeyCode.Slash then
  170. local finishEvent = nil
  171. isTyping = true
  172. finishEvent = game:GetService('UserInputService').InputBegan:connect(function(InputObj)
  173. if InputObj.KeyCode == Enum.KeyCode.Return or InputObj.UserInputType == Enum.UserInputType.MouseButton1 then
  174. isTyping = false
  175. finishEvent:disconnect()
  176. end
  177. end)
  178. end
  179. end)
  180.  
  181. for i,v in pairs(c:children()) do
  182. if v.ClassName == "Part" then
  183. v.Transparency = 1
  184. end
  185. if v.ClassName == "Accessory" then
  186. v:remove()
  187. end
  188. end
  189.  
  190. mas = Instance.new("Model",game:GetService("Lighting"))
  191. mas.Name = "CompiledModel"
  192. o1 = Instance.new("Model")
  193. o2 = Instance.new("Model")
  194. o3 = Instance.new("Part")
  195. o4 = Instance.new("CylinderMesh")
  196. o5 = Instance.new("Part")
  197. o6 = Instance.new("CylinderMesh")
  198. o7 = Instance.new("Part")
  199. o8 = Instance.new("SpecialMesh")
  200. o9 = Instance.new("Part")
  201. o10 = Instance.new("SpecialMesh")
  202. o11 = Instance.new("Weld")
  203. o12 = Instance.new("Weld")
  204. o13 = Instance.new("Weld")
  205. o14 = Instance.new("Weld")
  206. o15 = Instance.new("Weld")
  207. o16 = Instance.new("Part")
  208. o17 = Instance.new("CylinderMesh")
  209. o18 = Instance.new("Part")
  210. o19 = Instance.new("SpecialMesh")
  211. o20 = Instance.new("Part")
  212. o21 = Instance.new("Weld")
  213. o22 = Instance.new("Weld")
  214. o23 = Instance.new("Weld")
  215. o24 = Instance.new("Part")
  216. o25 = Instance.new("Weld")
  217. o26 = Instance.new("Weld")
  218. o27 = Instance.new("Weld")
  219. o28 = Instance.new("Part")
  220. o29 = Instance.new("Part")
  221. o30 = Instance.new("Part")
  222. o31 = Instance.new("Part")
  223. o32 = Instance.new("Part")
  224. o33 = Instance.new("Part")
  225. o1.Name = "BlamoBerb"
  226. o1.Parent = mas
  227. o2.Parent = o1
  228. o3.Name = "Mouth"
  229. o3.Parent = o2
  230. o3.Material = Enum.Material.SmoothPlastic
  231. o3.BrickColor = BrickColor.new("Really black")
  232. o3.Position = Vector3.new(41.2506142, 41.3160973, 30.5951977)
  233. o3.Rotation = Vector3.new(-5, 0, -180)
  234. o3.CanCollide = false
  235. o3.Size = Vector3.new(1.50000012, 0.200000003, 1.5)
  236. o3.CFrame = CFrame.new(41.2506142, 41.3160973, 30.5951977, -1, 0, 0, 0, -0.996188819, 0.0871554539, 0, 0.0871554464, 0.996188819)
  237. o3.BottomSurface = Enum.SurfaceType.Smooth
  238. o3.TopSurface = Enum.SurfaceType.Smooth
  239. o3.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  240. o3.Position = Vector3.new(41.2506142, 41.3160973, 30.5951977)
  241. o3.Orientation = Vector3.new(-5, 0, 180)
  242. o3.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  243. o4.Parent = o3
  244. o4.Scale = Vector3.new(1, 0.5, 1)
  245. o4.Scale = Vector3.new(1, 0.5, 1)
  246. o5.Name = "LeftEye"
  247. o5.Parent = o2
  248. o5.Material = Enum.Material.SmoothPlastic
  249. o5.BrickColor = BrickColor.new("Institutional white")
  250. o5.Position = Vector3.new(40.7347031, 41.5858727, 30.0870075)
  251. o5.Rotation = Vector3.new(-76.9300003, 7.42999983, -150.850006)
  252. o5.CanCollide = false
  253. o5.Size = Vector3.new(0.523343444, 0.161028728, 0.523343384)
  254. o5.CFrame = CFrame.new(40.7347031, 41.5858727, 30.0870075, -0.866031826, 0.482966542, 0.129353046, -6.39967693e-05, -0.258817375, 0.965920091, 0.499985963, 0.836509347, 0.224175021)
  255. o5.BottomSurface = Enum.SurfaceType.Smooth
  256. o5.TopSurface = Enum.SurfaceType.Smooth
  257. o5.Color = Color3.new(0.972549, 0.972549, 0.972549)
  258. o5.Position = Vector3.new(40.7347031, 41.5858727, 30.0870075)
  259. o5.Orientation = Vector3.new(-75, 29.9899998, -179.990005)
  260. o5.Color = Color3.new(0.972549, 0.972549, 0.972549)
  261. o6.Parent = o5
  262. o6.Scale = Vector3.new(1, 0.5, 1)
  263. o6.Scale = Vector3.new(1, 0.5, 1)
  264. o7.Name = "LeftEye"
  265. o7.Parent = o2
  266. o7.Material = Enum.Material.SmoothPlastic
  267. o7.BrickColor = BrickColor.new("Really black")
  268. o7.Position = Vector3.new(40.7249794, 41.5910759, 30.0701752)
  269. o7.Rotation = Vector3.new(-76.9300003, 7.42999983, -150.850006)
  270. o7.CanCollide = false
  271. o7.Size = Vector3.new(0.475034833, 0.28180027, 0.475034803)
  272. o7.CFrame = CFrame.new(40.7249794, 41.5910759, 30.0701752, -0.866031826, 0.482966542, 0.129353046, -6.39967693e-05, -0.258817375, 0.965920091, 0.499985963, 0.836509347, 0.224175021)
  273. o7.BottomSurface = Enum.SurfaceType.Smooth
  274. o7.TopSurface = Enum.SurfaceType.Smooth
  275. o7.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  276. o7.Position = Vector3.new(40.7249794, 41.5910759, 30.0701752)
  277. o7.Orientation = Vector3.new(-75, 29.9899998, -179.990005)
  278. o7.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  279. o8.Parent = o7
  280. o8.MeshType = Enum.MeshType.Sphere
  281. o9.Name = "Body"
  282. o9.Parent = o2
  283. o9.Material = Enum.Material.SmoothPlastic
  284. o9.BrickColor = BrickColor.new("Pastel violet")
  285. o9.Position = Vector3.new(41.2507362, 41.315731, 30.9957008)
  286. o9.Rotation = Vector3.new(0, 0, -90)
  287. o9.CanCollide = true
  288. o9.Shape = Enum.PartType.Ball
  289. o9.Size = Vector3.new(2.20000005, 2.20000005, 2.20000005)
  290. o9.CFrame = CFrame.new(41.2507362, 41.315731, 30.9957008, 0, 1, 0, -0.99999404, 0, 0, 0, 0, 0.99999404)
  291. o9.BottomSurface = Enum.SurfaceType.Smooth
  292. o9.TopSurface = Enum.SurfaceType.Smooth
  293. o9.Color = Color3.new(0.694118, 0.654902, 1)
  294. o9.Position = Vector3.new(41.2507362, 41.315731, 30.9957008)
  295. o9.Orientation = Vector3.new(0, 0, -90)
  296. o9.Color = Color3.new(0.694118, 0.654902, 1)
  297. o10.Parent = o9
  298. o10.MeshType = Enum.MeshType.Sphere
  299. o11.Parent = o9
  300. o11.C1 = CFrame.new(-0.000122070313, 0.0352706909, 0.398948669, 0, -1, 0, 0.99619478, 0, 0.087155968, -0.0871559754, 0, 0.99619478)
  301. o11.Part0 = o9
  302. o11.Part1 = o3
  303. o12.Parent = o9
  304. o12.C1 = CFrame.new(0.00745391846, 1.07928467, 0.00952148438, 6.39971477e-05, -0.866031826, 0.499988943, 0.258818924, 0.482966542, 0.836514354, -0.965925872, 0.129353046, 0.224176362)
  305. o12.Part0 = o9
  306. o12.Part1 = o5
  307. o13.Parent = o9
  308. o13.C1 = CFrame.new(0.00745010376, 1.0994072, 0.00952529907, 6.39971477e-05, -0.866031826, 0.499988943, 0.258818924, 0.482966542, 0.836514354, -0.965925872, 0.129353046, 0.224176362)
  309. o13.Part0 = o9
  310. o13.Part1 = o7
  311. o14.Parent = o9
  312. o14.C1 = CFrame.new(-0.075553894, 1.11166954, 0.012802124, 2.7999451e-05, -0.819151461, -0.573577344, 0.258819044, -0.554027259, 0.791243672, -0.965925932, -0.148474872, 0.211996466)
  313. o14.Part0 = o9
  314. o14.Part1 = o18
  315. o15.Parent = o9
  316. o15.C1 = CFrame.new(-0.075553894, 1.09154701, 0.0128059387, 2.7999451e-05, -0.819151461, -0.573577344, 0.258819044, -0.554027259, 0.791243672, -0.965925932, -0.148474872, 0.211996466)
  317. o15.Part0 = o9
  318. o15.Part1 = o16
  319. o16.Name = "RightEye"
  320. o16.Parent = o2
  321. o16.Material = Enum.Material.SmoothPlastic
  322. o16.BrickColor = BrickColor.new("Institutional white")
  323. o16.Position = Vector3.new(41.7954941, 41.5858727, 30.0859756)
  324. o16.Rotation = Vector3.new(-77.6200027, -8.53999996, 145.929993)
  325. o16.CanCollide = false
  326. o16.Size = Vector3.new(0.523343444, 0.161028728, 0.523343384)
  327. o16.CFrame = CFrame.new(41.7954941, 41.5858727, 30.0859756, -0.819151461, -0.554027259, -0.148474872, -2.79992837e-05, -0.258817494, 0.96592015, -0.573573947, 0.791238964, 0.211995199)
  328. o16.BottomSurface = Enum.SurfaceType.Smooth
  329. o16.TopSurface = Enum.SurfaceType.Smooth
  330. o16.Color = Color3.new(0.972549, 0.972549, 0.972549)
  331. o16.Position = Vector3.new(41.7954941, 41.5858727, 30.0859756)
  332. o16.Orientation = Vector3.new(-75, -35.0099983, -179.990005)
  333. o16.Color = Color3.new(0.972549, 0.972549, 0.972549)
  334. o17.Parent = o16
  335. o17.Scale = Vector3.new(1, 0.5, 1)
  336. o17.Scale = Vector3.new(1, 0.5, 1)
  337. o18.Name = "RightEye"
  338. o18.Parent = o2
  339. o18.Material = Enum.Material.SmoothPlastic
  340. o18.BrickColor = BrickColor.new("Really black")
  341. o18.Position = Vector3.new(41.8066406, 41.5910835, 30.070055)
  342. o18.Rotation = Vector3.new(-77.6200027, -8.53999996, 145.929993)
  343. o18.CanCollide = false
  344. o18.Size = Vector3.new(0.475034833, 0.28180027, 0.475034803)
  345. o18.CFrame = CFrame.new(41.8066406, 41.5910835, 30.070055, -0.819151461, -0.554027259, -0.148474872, -2.79992837e-05, -0.258817494, 0.96592015, -0.573573947, 0.791238964, 0.211995199)
  346. o18.BottomSurface = Enum.SurfaceType.Smooth
  347. o18.TopSurface = Enum.SurfaceType.Smooth
  348. o18.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  349. o18.Position = Vector3.new(41.8066406, 41.5910835, 30.070055)
  350. o18.Orientation = Vector3.new(-75, -35.0099983, -179.990005)
  351. o18.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  352. o19.Parent = o18
  353. o19.MeshType = Enum.MeshType.Sphere
  354. o20.Name = "LeftLeg"
  355. o20.Parent = o1
  356. o20.Material = Enum.Material.SmoothPlastic
  357. o20.BrickColor = BrickColor.new("Br. yellowish green")
  358. o20.Position = Vector3.new(40.7198524, 40.2564392, 30.8562965)
  359. o20.Rotation = Vector3.new(3.66000009, 34.9399986, -92.0999985)
  360. o20.CanCollide = false
  361. o20.Shape = Enum.PartType.Cylinder
  362. o20.Size = Vector3.new(0.886163473, 0.322241277, 0.322241277)
  363. o20.CFrame = CFrame.new(40.7198524, 40.2564392, 30.8562965, -0.0299750194, 0.81917119, 0.572765291, -0.99862355, 5.18225133e-05, -0.0523359403, -0.0429017916, -0.573545694, 0.818042159)
  364. o20.BottomSurface = Enum.SurfaceType.Smooth
  365. o20.TopSurface = Enum.SurfaceType.Smooth
  366. o20.Color = Color3.new(0.643137, 0.741176, 0.278431)
  367. o20.Position = Vector3.new(40.7198524, 40.2564392, 30.8562965)
  368. o20.Orientation = Vector3.new(3, 35, -90)
  369. o20.Color = Color3.new(0.643137, 0.741176, 0.278431)
  370. o21.Parent = o20
  371. o21.C1 = CFrame.new(-0.46603775, 0.0105266571, 0.0930404663, 0.99862957, -1.04652224e-06, 0.0523359068, 1.14181512e-06, 1, -1.79089352e-06, -0.0523359068, 1.84819726e-06, 0.99862957)
  372. o21.Part0 = o20
  373. o21.Part1 = o31
  374. o22.Parent = o20
  375. o22.C1 = CFrame.new(-0.466033936, 0.0105266571, 0.415275574, 0.99862957, -1.04652224e-06, 0.0523359068, 1.14181512e-06, 1, -1.79089352e-06, -0.0523359068, 1.84819726e-06, 0.99862957)
  376. o22.Part0 = o20
  377. o22.Part1 = o32
  378. o23.Parent = o20
  379. o23.C1 = CFrame.new(-0.4662323, 0.0106258392, 0.254005432, 0.99862957, -1.04652224e-06, 0.0523359068, 1.14181512e-06, 1, -1.79089352e-06, -0.0523359068, 1.84819726e-06, 0.99862957)
  380. o23.Part0 = o20
  381. o23.Part1 = o30
  382. o24.Name = "RightLeg"
  383. o24.Parent = o1
  384. o24.Material = Enum.Material.SmoothPlastic
  385. o24.BrickColor = BrickColor.new("Br. yellowish green")
  386. o24.Position = Vector3.new(41.8304482, 40.2564392, 30.8562965)
  387. o24.Rotation = Vector3.new(3.66000009, 34.9399986, -92.0999985)
  388. o24.CanCollide = false
  389. o24.Shape = Enum.PartType.Cylinder
  390. o24.Size = Vector3.new(0.886163473, 0.322241277, 0.322241277)
  391. o24.CFrame = CFrame.new(41.8304482, 40.2564392, 30.8562965, -0.0299750194, 0.81917119, 0.572765291, -0.99862355, 5.18225133e-05, -0.0523359403, -0.0429017916, -0.573545694, 0.818042159)
  392. o24.BottomSurface = Enum.SurfaceType.Smooth
  393. o24.TopSurface = Enum.SurfaceType.Smooth
  394. o24.Color = Color3.new(0.643137, 0.741176, 0.278431)
  395. o24.Position = Vector3.new(41.8304482, 40.2564392, 30.8562965)
  396. o24.Orientation = Vector3.new(3, 35, -90)
  397. o24.Color = Color3.new(0.643137, 0.741176, 0.278431)
  398. o25.Parent = o24
  399. o25.C1 = CFrame.new(-0.485366821, 0.0691261292, 0.214134216, 0.99467051, -0.00457840692, 0.103003114, -0.0906269997, 0.437566251, 0.894607544, -0.0491665602, -0.899174571, 0.434819311)
  400. o25.Part0 = o24
  401. o25.Part1 = o33
  402. o26.Parent = o24
  403. o26.C1 = CFrame.new(-0.485172272, 0.0690345764, 0.0531692505, 0.99467051, -0.00457840692, 0.103003114, -0.0906269997, 0.437566251, 0.894607544, -0.0491665602, -0.899174571, 0.434819311)
  404. o26.Part0 = o24
  405. o26.Part1 = o28
  406. o27.Parent = o24
  407. o27.C1 = CFrame.new(-0.485176086, 0.0690345764, 0.375404358, 0.99467051, -0.00457840692, 0.103003114, -0.0906269997, 0.437566251, 0.894607544, -0.0491665602, -0.899174571, 0.434819311)
  408. o27.Part0 = o24
  409. o27.Part1 = o29
  410. o28.Name = "RightShoe"
  411. o28.Parent = o1
  412. o28.Material = Enum.Material.SmoothPlastic
  413. o28.BrickColor = BrickColor.new("Black")
  414. o28.Position = Vector3.new(41.8083229, 39.7674866, 30.7978382)
  415. o28.Rotation = Vector3.new(-1.72000003, -29.0799999, -88.3300018)
  416. o28.CanCollide = false
  417. o28.Shape = Enum.PartType.Cylinder
  418. o28.Size = Vector3.new(0.161120623, 0.523642004, 0.523642063)
  419. o28.CFrame = CFrame.new(41.8083229, 39.7674866, 30.7978382, 0.0254308432, 0.873558402, -0.486054718, -0.998692393, 0.0437048003, 0.0262956135, 0.0442136675, 0.484750509, 0.873527527)
  420. o28.BottomSurface = Enum.SurfaceType.Smooth
  421. o28.TopSurface = Enum.SurfaceType.Smooth
  422. o28.Color = Color3.new(0.105882, 0.164706, 0.207843)
  423. o28.Position = Vector3.new(41.8083229, 39.7674866, 30.7978382)
  424. o28.Orientation = Vector3.new(-1.50999999, -29.0900002, -87.4899979)
  425. o28.Color = Color3.new(0.105882, 0.164706, 0.207843)
  426. o29.Name = "RightShoe"
  427. o29.Parent = o1
  428. o29.Material = Enum.Material.SmoothPlastic
  429. o29.BrickColor = BrickColor.new("Black")
  430. o29.Position = Vector3.new(41.9649467, 39.7590103, 30.5163574)
  431. o29.Rotation = Vector3.new(-1.72000003, -29.0799999, -88.3300018)
  432. o29.CanCollide = false
  433. o29.Shape = Enum.PartType.Cylinder
  434. o29.Size = Vector3.new(0.161120623, 0.523642004, 0.523642063)
  435. o29.CFrame = CFrame.new(41.9649467, 39.7590103, 30.5163574, 0.0254308432, 0.873558402, -0.486054718, -0.998692393, 0.0437048003, 0.0262956135, 0.0442136675, 0.484750509, 0.873527527)
  436. o29.BottomSurface = Enum.SurfaceType.Smooth
  437. o29.TopSurface = Enum.SurfaceType.Smooth
  438. o29.Color = Color3.new(0.105882, 0.164706, 0.207843)
  439. o29.Position = Vector3.new(41.9649467, 39.7590103, 30.5163574)
  440. o29.Orientation = Vector3.new(-1.50999999, -29.0900002, -87.4899979)
  441. o29.Color = Color3.new(0.105882, 0.164706, 0.207843)
  442. o30.Name = "LeftShoe"
  443. o30.Parent = o1
  444. o30.Material = Enum.Material.SmoothPlastic
  445. o30.BrickColor = BrickColor.new("Black")
  446. o30.Position = Vector3.new(40.5654831, 39.7902107, 30.6543045)
  447. o30.Rotation = Vector3.new(0, 35, -90)
  448. o30.CanCollide = false
  449. o30.Size = Vector3.new(0.161120623, 0.523642004, 0.362521499)
  450. o30.CFrame = CFrame.new(40.5654831, 39.7902107, 30.6543045, 4.13935632e-05, 0.819170117, 0.573550642, -0.999994099, 5.07759978e-05, -3.46451998e-07, -2.94223428e-05, -0.573547244, 0.819165349)
  451. o30.BottomSurface = Enum.SurfaceType.Smooth
  452. o30.TopSurface = Enum.SurfaceType.Smooth
  453. o30.Color = Color3.new(0.105882, 0.164706, 0.207843)
  454. o30.Position = Vector3.new(40.5654831, 39.7902107, 30.6543045)
  455. o30.Orientation = Vector3.new(0, 35, -90)
  456. o30.Color = Color3.new(0.105882, 0.164706, 0.207843)
  457. o31.Name = "LeftShoe"
  458. o31.Parent = o1
  459. o31.Material = Enum.Material.SmoothPlastic
  460. o31.BrickColor = BrickColor.new("Black")
  461. o31.Position = Vector3.new(40.6578865, 39.7904053, 30.7861042)
  462. o31.Rotation = Vector3.new(0, 35, -90)
  463. o31.CanCollide = false
  464. o31.Shape = Enum.PartType.Cylinder
  465. o31.Size = Vector3.new(0.161120623, 0.523642004, 0.523642063)
  466. o31.CFrame = CFrame.new(40.6578865, 39.7904053, 30.7861042, 4.13935632e-05, 0.819170117, 0.573550642, -0.999994099, 5.07759978e-05, -3.46451998e-07, -2.94223428e-05, -0.573547244, 0.819165349)
  467. o31.BottomSurface = Enum.SurfaceType.Smooth
  468. o31.TopSurface = Enum.SurfaceType.Smooth
  469. o31.Color = Color3.new(0.105882, 0.164706, 0.207843)
  470. o31.Position = Vector3.new(40.6578865, 39.7904053, 30.7861042)
  471. o31.Orientation = Vector3.new(0, 35, -90)
  472. o31.Color = Color3.new(0.105882, 0.164706, 0.207843)
  473. o32.Name = "LeftShoe"
  474. o32.Parent = o1
  475. o32.Material = Enum.Material.SmoothPlastic
  476. o32.BrickColor = BrickColor.new("Black")
  477. o32.Position = Vector3.new(40.4730682, 39.7904091, 30.5221405)
  478. o32.Rotation = Vector3.new(0, 35, -90)
  479. o32.CanCollide = false
  480. o32.Shape = Enum.PartType.Cylinder
  481. o32.Size = Vector3.new(0.161120623, 0.523642004, 0.523642063)
  482. o32.CFrame = CFrame.new(40.4730682, 39.7904091, 30.5221405, 4.13935632e-05, 0.819170117, 0.573550642, -0.999994099, 5.07759978e-05, -3.46451998e-07, -2.94223428e-05, -0.573547244, 0.819165349)
  483. o32.BottomSurface = Enum.SurfaceType.Smooth
  484. o32.TopSurface = Enum.SurfaceType.Smooth
  485. o32.Color = Color3.new(0.105882, 0.164706, 0.207843)
  486. o32.Position = Vector3.new(40.4730682, 39.7904091, 30.5221405)
  487. o32.Orientation = Vector3.new(0, 35, -90)
  488. o32.Color = Color3.new(0.105882, 0.164706, 0.207843)
  489. o33.Name = "RightShoe"
  490. o33.Parent = o1
  491. o33.Material = Enum.Material.SmoothPlastic
  492. o33.BrickColor = BrickColor.new("Black")
  493. o33.Position = Vector3.new(41.8864861, 39.7630539, 30.657196)
  494. o33.Rotation = Vector3.new(-1.72000003, -29.0799999, -88.3300018)
  495. o33.CanCollide = false
  496. o33.Size = Vector3.new(0.161120623, 0.523642004, 0.362521499)
  497. o33.CFrame = CFrame.new(41.8864861, 39.7630539, 30.657196, 0.0254308432, 0.873558402, -0.486054718, -0.998692393, 0.0437048003, 0.0262956135, 0.0442136675, 0.484750509, 0.873527527)
  498. o33.BottomSurface = Enum.SurfaceType.Smooth
  499. o33.TopSurface = Enum.SurfaceType.Smooth
  500. o33.Color = Color3.new(0.105882, 0.164706, 0.207843)
  501. o33.Position = Vector3.new(41.8864861, 39.7630539, 30.657196)
  502. o33.Orientation = Vector3.new(-1.50999999, -29.0900002, -87.4899979)
  503. o33.Color = Color3.new(0.105882, 0.164706, 0.207843)
  504. mas.Parent = c
  505. mas:MakeJoints()
  506.  
  507. sine = 0
  508. Humanoid.WalkSpeed = 16 anim.Parent = nil
  509.  
  510. local Music = Instance.new("Sound",o9)Music.SoundId = "rbxassetid://382403699" Music.Volume = 0.5 Music.Looped = true Music:Play()
  511.  
  512. local HW = Instance.new("Weld",c.Torso)HW.Part0 = c.Torso HW.Part1 = o9 HW.C0 = CFrame.Angles(0,0,math.rad(-90))
  513. local RW = Instance.new("Weld",c["Right Leg"])RW.Part0 = c["Right Leg"] RW.Part1 = o24 RW.C0 = CFrame.Angles(0,math.rad(65),math.rad(-90))
  514. local LW = Instance.new("Weld",c["Left Leg"])LW.Part0 = c["Left Leg"] LW.Part1 = o20 LW.C0 = CFrame.Angles(0,math.rad(0),math.rad(-90))
  515.  
  516. local rolling = false
  517. local deb = true
  518. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  519. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  520. local maxspeed = 25
  521. local speed = 0
  522.  
  523. SonicShoe = false
  524. function Sanic()
  525. if SonicShoe == false then SonicShoe = true Humanoid.WalkSpeed = 36
  526. Music.SoundId = "rbxassetid://149103854"
  527. o30.BrickColor = BrickColor.new("Bright red")
  528. o31.BrickColor = BrickColor.new("Bright red")
  529. o32.BrickColor = BrickColor.new("Bright red")
  530. o33.BrickColor = BrickColor.new("Bright red")
  531. o29.BrickColor = BrickColor.new("Bright red")
  532. o28.BrickColor = BrickColor.new("Bright red")
  533. o24.BrickColor = BrickColor.new("White")
  534. o20.BrickColor = BrickColor.new("White")
  535. o9.BrickColor = BrickColor.new("Bright blue")
  536. elseif SonicShoe == true then SonicShoe = false Humanoid.WalkSpeed = 16
  537. Music.SoundId = "rbxassetid://382403699"
  538. o30.BrickColor = BrickColor.new("Black")
  539. o31.BrickColor = BrickColor.new("Black")
  540. o32.BrickColor = BrickColor.new("Black")
  541. o33.BrickColor = BrickColor.new("Black")
  542. o29.BrickColor = BrickColor.new("Black")
  543. o28.BrickColor = BrickColor.new("Black")
  544. o24.BrickColor = BrickColor.new("Br. yellowish green")
  545. o20.BrickColor = BrickColor.new("Br. yellowish green")
  546. o9.BrickColor = BrickColor.new("Pastel violet")
  547. end
  548. end
  549. function StartRoll()
  550. if rolling == false then
  551. rolling = true
  552. for i = 1,10 do
  553. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  554. lerpz(N, "C0", NC0 * cf(0, 0, -1) * ang(rd(0), rd(0), rd(0)), 0.5)
  555. lerpz(RS, "C0", RSC0 * cf(0, 0, -2) * ang(rd(0), rd(0), rd(0)), 0.5)
  556. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  557. lerpz(LS, "C0", LSC0 * cf(0, 0, -2) * ang(rd(0), rd(0), rd(0)), 0.5)
  558. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  559. lerpz(RH, "C0", RHC0 * cf(0, 2.8, 0) * ang(rd(0), rd(0), rd(math.cos(sine/2)*15)), 0.5)
  560. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  561. lerpz(LH, "C0", LHC0 * cf(0, 2.8, 0) * ang(rd(0), rd(0), rd(math.cos(sine/2)*15)), 0.5)
  562. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  563. swait()
  564. end attack = true
  565. else
  566. rolling = false attack = false
  567. end
  568. end
  569.  
  570. mousedown = false
  571. mouse.Button1Down:connect(function()
  572. if rolling == true then
  573. local BP = Instance.new("BodyPosition",o9)BP.Position = mouse.hit.p BP.P = 2500 BP.maxForce = Vector3.new(math.huge,0,math.huge)
  574. BP.Name = "RollPos" mousedown = true
  575. while mousedown == true do
  576. Humanoid.PlatformStand = true
  577. BP.Position = mouse.hit.p
  578. swait()
  579. end
  580. BP:remove()
  581. end
  582. end)
  583.  
  584. mouse.Button1Up:connect(function()
  585. mousedown = false
  586. end)
  587.  
  588. StuckToHead = false
  589. function HeadStick()
  590. if StuckToHead == false then StuckToHead = true
  591. local We
  592. for i,v in pairs(game.Workspace:children()) do
  593. if v:findFirstChild("Head")~= nil and v ~= c then
  594. if (v.Head.Position-o9.Position).magnitude <= 5 then
  595. We = Instance.new("Weld",v.Head)We.Part0 = v.Head We.Part1 = o9 We.C0 = CFrame.Angles(0,0,math.rad(-90))
  596. end
  597. end
  598. end
  599. while StuckToHead == true do
  600. Humanoid.PlatformStand = true
  601. swait()
  602. end
  603. We:remove()
  604. else StuckToHead = false
  605. end
  606. end
  607. function BEES()
  608. attack = true
  609. local S = Instance.new("Sound",o9)S.SoundId = "rbxassetid://502284205" S.Volume = 1 S:Play()
  610. for i = 1,25 do
  611. lerpz(RJ, "C0", RJC0 * cf(math.random(-5,5)/10, math.random(-5,5)/10, math.random(-5,5)/10) * ang(rd(0), rd(0), rd(0)), 1)
  612. swait()
  613. end
  614. attack = false
  615. end
  616.  
  617. function Radio()
  618. if c:findFirstChild("Radio")== nil then
  619. local Rad = Instance.new("Part",c)Rad.Name = "Radio" Rad.Size = Vector3.new(0.2,0.2,0.2) Rad.CanCollide = false
  620. local RadM = Instance.new("SpecialMesh",Rad)RadM.MeshId = "rbxassetid://151760030" RadM.TextureId = "rbxassetid://151760072"
  621. local RW = Instance.new("Weld",c.HumanoidRootPart)RW.Part0 = c.HumanoidRootPart RW.Part1 = Rad RW.C0 = CFrame.new(0,1.5,0)
  622. local S = Instance.new("Sound",Rad)S.SoundId = "rbxassetid://1608398085" S.Volume = 7 S:Play() Music.Volume = 0
  623. else
  624. c.Radio:remove() Music.Volume = 0.5
  625. end
  626. end
  627.  
  628. function Microphone()
  629. if c:findFirstChild("Microphone")== nil then
  630. local Rad = Instance.new("Part",c)Rad.Name = "Microphone" Rad.Size = Vector3.new(0.2,0.2,0.2) Rad.CanCollide = false
  631. local RadM = Instance.new("SpecialMesh",Rad)RadM.MeshId = "rbxassetid://151760030" RadM.TextureId = "rbxassetid://151760072"
  632. local RW = Instance.new("Weld",c.HumanoidRootPart)RW.Part0 = c.HumanoidRootPart RW.Part1 = Rad RW.C0 = CFrame.new(0,1.5,0)
  633. local S = Instance.new("Sound",Rad)S.SoundId = "rbxassetid://1608398085" S.Volume = 7 S:Play() Music.Volume = 0
  634. else
  635. c.Radio:remove() Music.Volume = 0.5
  636. end
  637. end
  638.  
  639. mouse.KeyDown:connect(function(key)
  640. if Humanoid.Health <= 0 then return end
  641. if key == "q" then
  642. StartRoll()
  643. end
  644. if key == "v" then
  645. Radio()
  646. end
  647. if key == "x" then
  648. HeadStick()
  649. end
  650. if key == "b" then
  651. Microphone()
  652. end
  653. if key == "c" then
  654. Sanic()
  655. end
  656. if attack == true then return end
  657. if key == "z" then
  658. BEES()
  659. end
  660. end)
  661.  
  662. function onKeyPress(inputObject, gameProcessedEvent)
  663. if isTyping == true then return end
  664. if inputObject.KeyCode == Enum.KeyCode.W then ctrl.f = 1 end
  665. if inputObject.KeyCode == Enum.KeyCode.S then ctrl.b = -1 end
  666. if inputObject.KeyCode == Enum.KeyCode.A then ctrl.l = -1 end
  667. if inputObject.KeyCode == Enum.KeyCode.D then ctrl.r = 1 end
  668. end
  669. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  670.  
  671. function onKeyLift(inputObject, gameProcessedEvent)
  672. if isTyping == true then return end
  673. if inputObject.KeyCode == Enum.KeyCode.W then ctrl.f = 0 end
  674. if inputObject.KeyCode == Enum.KeyCode.S then ctrl.b = 0 end
  675. if inputObject.KeyCode == Enum.KeyCode.A then ctrl.l = 0 end
  676. if inputObject.KeyCode == Enum.KeyCode.D then ctrl.r = 0 end
  677. end
  678.  
  679. game:GetService("RunService").RenderStepped:connect(function()
  680. Humanoid.MaxHealth = Humanoid.MaxHealth*2
  681. Humanoid.Health = Humanoid.MaxHealth*2
  682. --game.Workspace.CurrentCamera.FieldOfView = (math.cos(sine/50)*15)
  683. if attack == false then
  684. for i,v in pairs (c:children()) do
  685. if v.ClassName == "Accessory" then
  686. for i,v2 in pairs (v:children()) do
  687. if v2.ClassName == "Part" then
  688. v2.Anchored = false
  689. end
  690. end
  691. end
  692. end
  693. for i,v in pairs (c:children()) do
  694. if v.ClassName == "Part" then
  695. v.Anchored = false
  696. end
  697. end
  698.  
  699. if (c.HumanoidRootPart.Velocity * Vector3.new(1, 0, 1)).magnitude > 4 then
  700. sine = sine + 1 Humanoid.HipHeight = -1.75
  701. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.1-(math.cos(sine/10)*0.1)) * ang(rd(0), rd(0), rd(0)), 0.5)
  702. lerpz(N, "C0", NC0 * cf(0, 0, -1) * ang(rd(0), rd(0), rd(0)), 0.5)
  703. lerpz(RS, "C0", RSC0 * cf(0, 0, -2) * ang(rd(0), rd(0), rd(0)), 0.5)
  704. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  705. lerpz(LS, "C0", LSC0 * cf(0, 0, -2) * ang(rd(0), rd(0), rd(0)), 0.5)
  706. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  707. lerpz(RH, "C0", RHC0 * cf(0, 1.35+(math.cos(sine/10)*0.1), 0) * ang(rd(0), rd(0), rd(math.cos(sine/2)*15)), 0.5)
  708. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  709. lerpz(LH, "C0", LHC0 * cf(0, 1.35+(math.cos(sine/10)*0.1), 0) * ang(rd(0), rd(0), rd(math.cos(sine/2)*15)), 0.5)
  710. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  711. else Humanoid.HipHeight = -1.75 sine = sine + 1
  712. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.1-(math.cos(sine/10)*0.1)) * ang(rd(0), rd(0), rd(0)), 0.2)
  713. lerpz(N, "C0", NC0 * cf(0, 0, -1) * ang(rd(0), rd(0), rd(0)), 0.2)
  714. lerpz(RS, "C0", RSC0 * cf(0, 0, -2) * ang(rd(0), rd(0), rd(0)), 0.2)
  715. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  716. lerpz(LS, "C0", LSC0 * cf(0, 0, -2) * ang(rd(0), rd(0), rd(0)), 0.2)
  717. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  718. lerpz(RH, "C0", RHC0 * cf(0, 1.35+(math.cos(sine/10)*0.1), 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  719. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  720. lerpz(LH, "C0", LHC0 * cf(0, 1.35+(math.cos(sine/10)*0.1), 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  721. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  722. end
  723. end
  724. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement