Advertisement
Rawscript

Untitled

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