Advertisement
TheYoutuber_Pro

wwww

Jan 23rd, 2022
760
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end local Player,game,owner = owner,game local RealPlayer = Player do     local rp = RealPlayer    script.Parent = rp.Character      local Event = Instance.new("RemoteEvent")  Event.Name = "UserInput_Event"    local function fakeEvent()        local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}        t.connect = t.Connect       return t    end   local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}   local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}   local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)       CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil   end}    CAS.UnbindAction = CAS.BindAction    local function te(self,ev,...)      local t = m[ev]       if t and t._fakeEvent then           for _,f in pairs(t.Functions) do               f(...)           end       end    end    m.TrigEvent = te    UIS.TrigEvent = te    Event.OnServerEvent:Connect(function(plr,io)        if plr~=rp then return end        m.Target = io.Target        m.Hit = io.Hit        if not io.isMouse then            local b = io.UserInputState == Enum.UserInputState.Begin            if io.UserInputType == Enum.UserInputType.MouseButton1 then                return m:TrigEvent(b and "Button1Down" or "Button1Up")            end            for _,t in pairs(CAS.Actions) do                for _,k in pairs(t.Keys) do                    if k==io.KeyCode then                       t.Function(t.Name,io.UserInputState,io)                   end                end            end           m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())            UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)        end    end)    Event.Parent = NLS([==[    local Player = game:GetService("Players").LocalPlayer    local Event = script:WaitForChild("UserInput_Event")     local Mouse = Player:GetMouse()    local UIS = game:GetService("UserInputService")    local input = function(io,a)        if a then return end Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})    end    UIS.InputBegan:Connect(input)    UIS.InputEnded:Connect(input)    local h,t    while wait(1/30) do        if h~=Mouse.Hit or t~=Mouse.Target then            h,t=Mouse.Hit,Mouse.Target           Event:FireServer({isMouse=true,Target=t,Hit=h})        end    end]==],Player.Character)    local _rg = game    local fsmt = {       __index = function(self,k)            local s = rawget(self,"_RealService")            if s then return s[k] end        end,        __newindex = function(self,k,v)            local s = rawget(self,"_RealService")            if s then s[k]=v end        end,        __call = function(self,...)            local s = rawget(self,"_RealService")            if s then return s(...) end        end    }    local function FakeService(t,RealService)        t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService        return setmetatable(t,fsmt)    end    local g = {        GetService = function(self,s)            return self[s]        end,        Players = FakeService({            LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)        },"Players"),        UserInputService = FakeService(UIS,"UserInputService"),        ContextActionService = FakeService(CAS,"ContextActionService"),    }    rawset(g.Players,"localPlayer",g.Players.LocalPlayer)    g.service = g.GetService       g.RunService = FakeService({        RenderStepped = _rg:GetService("RunService").Heartbeat,        BindToRenderStep = function(self,name,_,fun)            self._btrs[name] = self.Heartbeat:Connect(fun)        end,        UnbindFromRenderStep = function(self,name)            self._btrs[name]:Disconnect()        end,    },"RunService")     setmetatable(g,{        __index=function(self,s)            return _rg:GetService(s) or typeof(_rg[s])=="function"            and function(_,...)return _rg[s](_rg,...)end or _rg[s]        end,        __newindex = fsmt.__newindex,        __call = fsmt.__call    })    game,owner = g,g.Players.LocalPlayer end
  2.  
  3.  
  4. -- leaked by CLarramore
  5. -- This is edited sooooo  freak you whoever edited this
  6.  
  7. do
  8.     function GetDiscoColor(hue)
  9.         hue=hue/4
  10.     local section = hue % 1 * 3
  11.     local secondary = 0.5 * math.pi * (section % 1)
  12.         local thing
  13.     if section < 1 then
  14.         thing=Color3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary))
  15.     elseif section < 2 then
  16.         thing=Color3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary))
  17.     else
  18.         thing=Color3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1)
  19.     end
  20.         return thing
  21. end
  22. function VertexRainbow()
  23.         return Vector3.new(math.random(),math.random(),math.random())
  24.         end
  25. local plr = game.Players.LocalPlayer
  26. local chr = plr.Character
  27. local maus = plr:GetMouse()
  28. local PGui=plr.PlayerGui
  29. local lleg = chr["Left Leg"]
  30. local rleg = chr["Right Leg"]
  31. local larm = chr["Left Arm"]
  32. local rarm = chr["Right Arm"]
  33. local hed = chr.Head
  34. local rutprt = chr.HumanoidRootPart
  35. local torso = chr.Torso
  36. local otheranims=false
  37. local swimming=false
  38. chr.Animate.Disabled=true
  39. local fldb={['w']=false,['a']=false,['s']=false,['d']=false}
  40. local RunSpeed=80
  41. local WlkSpeed=16
  42. local SwimSpeed=14
  43. local SwimDashSpeed=1000
  44. local anim = "Idling"
  45. local lastanim = "Idling"
  46. local flying=false
  47. local val = 0
  48. local syne = 0
  49. local num = 0
  50. local runtime = 0
  51. local TackleCD=false
  52. local currentdecalid=1
  53. local crouching=false
  54. local bboxout=false
  55. local ltout=false
  56. local standing=false
  57. local throwcd=false
  58. local displaying=false
  59. local imageType="Custom"
  60. local pseudohead=hed:Clone()
  61. for i,x in pairs(pseudohead:GetChildren()) do if not x.ClassName:find('Mesh') then x:Destroy() end end
  62. pseudohead.Name='PseudoHead'
  63. pseudohead.Parent=chr.Head
  64. local pseudoweld=Instance.new('Weld',torso)
  65. pseudoweld.Part0=hed
  66. pseudoweld.Name='PseudoHeadWeld'
  67. pseudoweld.Part1=pseudohead
  68. hed.Transparency=1
  69. for i,x in pairs(chr:GetChildren()) do
  70. if x:IsA'Hat' then x:destroy'' end end
  71. for i,x in pairs(chr:GetChildren()) do
  72. for a,v in pairs(x:GetChildren()) do
  73. if v:IsA'CharacterMesh' then v:destroy''
  74. end
  75. end
  76. end
  77. local     alldecals={"387418012","339886198","339302474","339302316","339303212","339302607","339302826","339303065","339303400","150037981","167241003","235558077","265452635","260161937","242814125","230417107","252230874","231949998","229222676","181607551","231953209","123431503","184905165","172755711","161494218","292791711","205912841","68953525","180163702","123385234","138847283","159127645","172511645","210175195","206539362","192486406","96613287","131764585","168427244","128595009","96687581","171590601","172329151","72116648","221557708","214883980"}
  78.  
  79. local decals={"387418012","235558078","339302317","339303401","265452690","339303066","339302827","242814126","181607552"}
  80. local musics={"142594142","202020876"}
  81. local currentsound=1
  82. local     GarbageTypes={{"Grapes","16940906","16940893",Vector3.new(.8,.8,.8),"284627310"},{"Lightbulb","1376459","1376456",Vector3.new(1,1,1),"235040768"},{"Turkey","13073626","13073598",Vector3.new(2,2,2),"284627310"},{"JuiceBottle","57219451","57219520",Vector3.new(1.75,1.75,1.75),"235040768"},{"Can","10470609","10470600",Vector3.new(1,1,1),"284627310"},{"dunno     lol","55304507","55304460",Vector3.new(1,1,1),"235040768"},{"Burger","16646125","16432575",Vector3.new(1.1,1.1,1.1),"284627310"},{"Candy","38160912","38161977",Vector3.new(1.15,1.15,1.15),"154162195"},{"Sandwich","12510164","12509672",Vector3.new(2.5,2.5,2.5),"284627310"}}
  83. coroutine.wrap(function()
  84. for i,x in pairs(hed:GetChildren()) do if x:IsA('Sound') then x:Destroy() end end end)()
  85. function Lerp(a, b, i)
  86. local com1 = {a.X, a.Y, a.Z, a:toEulerAnglesXYZ()}
  87. local com2 = {b.X, b.Y, b.Z, b:toEulerAnglesXYZ()}
  88. local calx = com1[1] + (com2[1] - com1[1]) * i
  89. local caly = com1[2] + (com2[2] - com1[2]) * i
  90. local calz = com1[3] + (com2[3] - com1[3]) * i
  91. local cala = com1[4] + (com2[4] - com1[4]) * i
  92. local calb = com1[5] + (com2[5] - com1[5]) * i
  93. local calc = com1[6] + (com2[6] - com1[6]) * i
  94. return CFrame.new(calx, caly, calz) * CFrame.Angles(cala, calb, calc)
  95. end
  96. function TwnSingleNumber(s,f,m)
  97. local wot=s+(f-s)*m
  98. return wot
  99. end
  100. function TwnVector3(q,w,e)
  101. local begin={q.x,q.y,q.z}
  102. local ending={w.x,w.y,w.z}
  103. local bgx=begin[1]+(ending[1]-begin[1])*e
  104. local bgy=begin[2]+(ending[2]-begin[2])*e
  105. local bgz=begin[3]+(ending[3]-begin[3])*e
  106. return Vector3.new(bgx,bgy,bgz)
  107. end
  108. newWeld = function(wld, wp0, wp1, wc0x, wc0y, wc0z)
  109. wld = Instance.new("Weld", wp1)
  110. wld.Part0 = wp0
  111. wld.Part1 = wp1
  112. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  113. end
  114. newWeld(law, torso, larm, -1.5, 0.5, 0)
  115. newWeld(raw, torso, rarm, 1.5, 0.5, 0)
  116. newWeld(llw, torso, lleg, -.5, -2, 0)
  117. newWeld(rlw, torso, rleg, .5, -2, 0)
  118. newWeld(hw, torso, hed, 0, 1.5, 0)
  119. local rutwald=Instance.new('Weld',rutprt)
  120. rutwald.Part0=rutprt
  121. rutwald.Part1=torso
  122. rutprt.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0)
  123. larm.Weld.C1 = CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),0,0)
  124. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),0,0)
  125. rleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
  126. lleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
  127.  
  128.  
  129.  
  130. local bvelo=Instance.new('BodyVelocity',rutprt)
  131. bvelo.maxForce=Vector3.new(0,0,0)
  132.  
  133.  
  134.  
  135. local kan=Instance.new('Model',chr)
  136. kan.Name="true can"
  137. local cen=Instance.new('Model',kan)
  138. cen.Name='no'
  139. local can=Instance.new('Model',cen)
  140. can.Name="i cri"
  141. local base=Instance.new('Part',can)
  142. base.formFactor=3
  143. base.TopSurface=10
  144. base.BottomSurface=10
  145. base.LeftSurface=10
  146. base.RightSurface=10
  147. base.FrontSurface=10
  148. base.BackSurface=10
  149. base.Locked=true
  150. base.CanCollide=true
  151. base.Anchored=false
  152. base.BrickColor=BrickColor.new('Fossil')
  153. base.Name='Can'
  154. base.Size=Vector3.new(3,3.5,3)
  155. base.Material='Metal'
  156. local canm=Instance.new("CylinderMesh",base)
  157. local base2=Instance.new('Part',can)
  158. base2.formFactor=3
  159. base2.TopSurface=10
  160. base2.BottomSurface=10
  161. base2.LeftSurface=10
  162. base2.RightSurface=10
  163. base2.FrontSurface=10
  164. base2.BackSurface=10
  165. base2.Locked=true
  166. base2.CanCollide=false
  167. base2.Anchored=false
  168. base2.BrickColor=BrickColor.new('Really black')
  169. base2.Name='InnerCan'
  170. base2.Size=Vector3.new(2.8,.2,2.8)
  171. base2.Material='SmoothPlastic'
  172. local lid=Instance.new('Part',can)
  173. local canm2=Instance.new("CylinderMesh",base2)
  174. lid.Name='Lid'
  175. lid.formFactor=3
  176. lid.TopSurface=10
  177. lid.BottomSurface=10
  178. lid.LeftSurface=10
  179. lid.RightSurface=10
  180. lid.BackSurface=10
  181. lid.FrontSurface=10
  182. lid.CanCollide=true
  183. lid.Anchored=false
  184. lid.Locked=true
  185. lid.Size=Vector3.new(3,3,.2)
  186. local heli1=Instance.new('Part',can)
  187. heli1.formFactor=3
  188. heli1.TopSurface=10
  189. heli1.BottomSurface=10
  190. heli1.LeftSurface=10
  191. heli1.RightSurface=10
  192. heli1.FrontSurface=10
  193. heli1.BackSurface=10
  194. heli1.Locked=true
  195. heli1.CanCollide=true
  196. heli1.Anchored=false
  197. heli1.BrickColor=BrickColor.new('Dark stone grey')
  198. heli1.Name='Can'
  199. heli1.Size=Vector3.new(.1,3,.1)
  200. heli1.Material='Metal'
  201. local helim1=Instance.new("CylinderMesh",heli1)
  202. helim1.Scale=Vector3.new(.5,1,.5)
  203. local heli2=Instance.new('Part',can)
  204. heli2.formFactor=3
  205. heli2.TopSurface=10
  206. heli2.BottomSurface=10
  207. heli2.LeftSurface=10
  208. heli2.RightSurface=10
  209. heli2.FrontSurface=10
  210. heli2.BackSurface=10
  211. heli2.Locked=true
  212. heli2.CanCollide=true
  213. heli2.Anchored=false
  214. heli2.BrickColor=BrickColor.new('Dark stone grey')
  215. heli2.Name='Can'
  216. heli2.Size=Vector3.new(.1,.1,2.9)
  217. heli2.Material='Metal'
  218. local helim2=Instance.new("BlockMesh",heli2)
  219. helim2.Scale=Vector3.new(.5,.1,1)
  220. local heli3=Instance.new('Part',can)
  221. heli3.formFactor=3
  222. heli3.TopSurface=10
  223. heli3.BottomSurface=10
  224. heli3.LeftSurface=10
  225. heli3.RightSurface=10
  226. heli3.FrontSurface=10
  227. heli3.BackSurface=10
  228. heli3.Locked=true
  229. heli3.CanCollide=true
  230. heli3.Anchored=false
  231. heli3.BrickColor=BrickColor.new('Dark stone grey')
  232. heli3.Name='Can'
  233. heli3.Size=Vector3.new(.1,.1,2.9)
  234. heli3.Material='Metal'
  235. local helim3=Instance.new("BlockMesh",heli3)
  236. helim3.Scale=Vector3.new(.5,.1,1)
  237. local hits=Instance.new('Sound',lid)
  238. hits.Name='hit'
  239. hits.SoundId="http://www.roblox.com/asset?id=138259748"
  240. hits.Volume=.3
  241. hits.Pitch=.9
  242. local opens=Instance.new('Sound',lid)
  243. opens.Name='Open'
  244. opens.Volume=.225
  245. opens.Pitch=.9
  246. opens.SoundId="http://www.roblox.com/asset?id=144467622"
  247. local lidm=Instance.new('SpecialMesh',lid)
  248. lidm.Scale=Vector3.new(1.8,1.8,3)
  249. lidm.TextureId="http://www.roblox.com/asset/?id=75521030"
  250. lidm.MeshId="http://www.roblox.com/asset/?id=75521015"
  251.  
  252. coroutine.resume(coroutine.create(function()
  253.         while wait() do
  254.                 lidm.VertexColor=VertexRainbow()
  255.         end
  256.         end))
  257. local waifu=Instance.new('Part',can)
  258. waifu.Name='cri cri'
  259. waifu.formFactor=3
  260. waifu.TopSurface=10
  261. waifu.BottomSurface=10
  262. waifu.LeftSurface=10
  263. waifu.RightSurface=10
  264. waifu.BackSurface=10
  265. waifu.FrontSurface=10
  266. waifu.CanCollide=false
  267. waifu.Anchored=false
  268. waifu.Transparency=1
  269. waifu.Locked=true
  270. waifu.Size=Vector3.new(2,.2,2)
  271. local img=Instance.new('Decal',waifu)
  272. img.Texture="http://www.roblox.com/asset?id="..alldecals[math.random(1,#alldecals)]
  273. img.Face='Top'
  274. local bbox=Instance.new('Part',can)
  275. bbox.Name='boombox'
  276. bbox.formFactor=3
  277. bbox.TopSurface=10
  278. bbox.BottomSurface=10
  279. bbox.LeftSurface=10
  280. bbox.RightSurface=10
  281. bbox.BackSurface=10
  282. bbox.FrontSurface=10
  283. bbox.CanCollide=false
  284. bbox.Anchored=false
  285. bbox.Transparency=0
  286. bbox.Locked=true
  287. bbox.Size=Vector3.new(2,2,1)
  288. local bbms=Instance.new('SpecialMesh',bbox)
  289. bbms.MeshId="http://www.roblox.com/asset?id=319536754"
  290. bbms.TextureId="http://www.roblox.com/asset?id=319536704"
  291. local bulb=Instance.new('Part',can)
  292. bulb.Name='lightbulb'
  293. bulb.formFactor=3
  294. bulb.TopSurface=10
  295. bulb.BottomSurface=10
  296. bulb.LeftSurface=10
  297. bulb.RightSurface=10
  298. bulb.BackSurface=10
  299. bulb.FrontSurface=10
  300. bulb.CanCollide=false
  301. bulb.Anchored=false
  302. bulb.Transparency=.4
  303. bulb.Locked=true
  304. bulb.Size=Vector3.new(.8,1,.8)
  305. local lt=Instance.new('PointLight',bulb)
  306. lt.Range=16
  307. lt.Color=BrickColor.new('New Yeller').Color
  308. lt.Enabled=false
  309. lt.Shadows=true
  310.  
  311. local blbms=Instance.new('SpecialMesh',bulb)
  312. blbms.MeshId="http://www.roblox.com/asset?id=1376459"
  313. blbms.TextureId="http://www.roblox.com/asset?id=1376456"
  314. local canWeld=Instance.new('Weld',torso)
  315. canWeld.Part0=torso
  316. canWeld.Part1=base
  317. canWeld.C1=CFrame.new(0,-.5,0)
  318. canWeld.C0=CFrame.new(0,0,0)
  319. local canWeld2=Instance.new('Weld',base2)
  320. canWeld2.Part0=base
  321. canWeld2.Part1=base2
  322. canWeld2.C1=CFrame.new(0,-1.66,0)
  323. canWeld2.C0=CFrame.new(0,0,0)
  324. local lidWeld=Instance.new('Weld',base)
  325. lidWeld.Part0=base
  326. lidWeld.Part1=lid
  327. lidWeld.C1=CFrame.new(0,0,-1.8)*CFrame.Angles(math.rad(90),math.rad(90),0)
  328. local girlWeld=Instance.new('Weld',base)
  329. girlWeld.Part0=base
  330. girlWeld.Part1=waifu
  331. girlWeld.C1=CFrame.new(0,-.65,-.5)*CFrame.Angles(math.rad(90),0,0)
  332. local bbweld=Instance.new('Weld',base)
  333. bbweld.Part0=base
  334. bbweld.Part1=bbox
  335. bbweld.C1=CFrame.new(0,-.5,0)
  336. local blbweld=Instance.new('Weld',base)
  337. blbweld.Part0=base
  338. blbweld.Part1=bulb
  339. blbweld.C1=CFrame.new(0,-.5,0)
  340. local heliweld1=Instance.new('Weld',base)
  341. heliweld1.Part0=base
  342. heliweld1.Part1=heli1
  343. heliweld1.C1=CFrame.new(0,0,0)
  344. local heliweld2=Instance.new('Weld',heli1)
  345. heliweld2.Part0=heli1
  346. heliweld2.Part1=heli2
  347. heliweld2.C1=CFrame.new(0,-1.475,0)
  348. local heliweld3=Instance.new('Weld',heli1)
  349. heliweld3.Part0=heli1
  350. heliweld3.Part1=heli3
  351. heliweld3.C1=CFrame.new(0,-1.475,0)*CFrame.Angles(0,math.pi/2,0)
  352. local helilt=Instance.new('PointLight',heli1)
  353. helilt.Enabled=false
  354. helilt.Brightness=1
  355. helilt.Range=16
  356. helilt.Color=BrickColor.new("Dark green").Color
  357. local music=Instance.new('Sound',hed)
  358. music.Name='ok music'
  359. music.Volume=1
  360. music.Pitch=1
  361. music.SoundId="http://www.roblox.com/asset?id="..musics[math.random(1,#musics)]
  362. music.Looped=true
  363. local helisn=Instance.new('Sound',heli1)
  364. helisn.SoundId="http://www.roblox.com/asset?id=131503030"
  365. helisn.Volume=.1
  366. helisn.Pitch=2
  367. helisn.Looped=true
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374. local gui=Instance.new('ScreenGui',plr.PlayerGui)
  375. gui.Name='you make me cri'
  376. local topFrame=Instance.new('Frame',gui)
  377. topFrame.Name='TopFrame'
  378. topFrame.Size=UDim2.new(1,0,1,0)
  379. topFrame.BorderSizePixel=0
  380. topFrame.BackgroundTransparency=1
  381. local choiceFrame=Instance.new('Frame',topFrame)
  382. choiceFrame.Size=UDim2.new(.4,0,.05,0)
  383. choiceFrame.Draggable=true
  384. choiceFrame.BackgroundTransparency=.7
  385. choiceFrame.Position=UDim2.new(.3,0,.775,0)
  386. choiceFrame.BackgroundColor3=Color3.new(.2,.2,.2)
  387. choiceFrame.BorderColor3=Color3.new(0,0,0)
  388. local innerFrame=Instance.new('Frame',choiceFrame)
  389. innerFrame.Size=UDim2.new(.5,0,1,0)
  390. innerFrame.Draggable=true
  391. innerFrame.BackgroundTransparency=.9
  392. innerFrame.Position=UDim2.new(0,0,0,0)
  393. innerFrame.BackgroundColor3=Color3.new(.2,.2,.2)
  394. innerFrame.BorderColor3=Color3.new(0,0,0)
  395. local innerFrame2=Instance.new('Frame',choiceFrame)
  396. innerFrame2.Visible=true
  397. innerFrame2.Size=UDim2.new(.5,0,1,0)
  398. innerFrame2.Draggable=false
  399. innerFrame2.BackgroundTransparency=.5
  400. innerFrame2.Position=UDim2.new(0,0,1,1)
  401. innerFrame2.BackgroundColor3=Color3.new(.2,.2,.2)
  402. innerFrame2.BorderColor3=Color3.new(0,0,0)
  403. local imageID=Instance.new('TextBox',innerFrame2)
  404. imageID.Size=UDim2.new(.8,0,.7,0)
  405. imageID.Position=UDim2.new(.1,0,.15,0)
  406. imageID.BackgroundTransparency=.7
  407. imageID.Visible=true
  408. imageID.Text="Image ID"
  409. imageID.TextScaled=true
  410. imageID.TextStrokeTransparency=0
  411. imageID.TextStrokeColor3=Color3.new(.1,.1,.1)
  412. imageID.TextColor3=Color3.new(.7,.7,.7)
  413. imageID.BackgroundColor3=Color3.new(.2,.2,.2)
  414. imageID.BorderColor3=Color3.new(0,0,0)
  415. imageID.FocusLost:connect(function(ent)
  416. if ent then
  417. img.Texture="http://www.roblox.com/asset?id="..imageID.Text-1
  418. end
  419. end)
  420. local bt1=Instance.new('TextButton',innerFrame)
  421. bt1.Draggable=false
  422. bt1.BackgroundTransparency=.9
  423. bt1.BackgroundColor3=Color3.new(.2,.2,.2)
  424. bt1.Size=UDim2.new(.5,0,1,0)
  425. bt1.Text="Custom"
  426. bt1.TextStrokeTransparency=0
  427. bt1.TextColor3=Color3.new(.7,.7,.7)
  428. bt1.TextScaled=true
  429. bt1.TextStrokeColor3=Color3.new(.1,.1,.1)
  430. bt1.Font="SourceSans"
  431. bt1.MouseButton1Click:connect(function()
  432. if imageType=='Table' then
  433. imageType="Custom"
  434. innerFrame2.Visible=true
  435. imageID.Visible=true
  436. end
  437. end)
  438. local bt2=Instance.new('TextButton',innerFrame)
  439. bt2.Draggable=false
  440. bt2.BackgroundTransparency=.9
  441. bt2.BackgroundColor3=Color3.new(.1,.1,.1)
  442. bt2.Size=UDim2.new(.5,0,1,0)
  443. bt2.Position=UDim2.new(.5,0,0,0)
  444. bt2.Text="Table"
  445. bt2.TextStrokeTransparency=0
  446. bt2.TextColor3=Color3.new(.7,.7,.7)
  447. bt2.TextScaled=true
  448. bt2.TextStrokeColor3=Color3.new(.1,.1,.1)
  449. bt2.Font="SourceSans"
  450. bt2.MouseButton1Click:connect(function()
  451. if imageType~='Table' then
  452. imageType="Table"
  453. imageID.Visible=false
  454. innerFrame2.Visible=false
  455. img.Texture="http://www.roblox.com/asset?id="..decals[currentdecalid]-1
  456. end
  457. end)
  458.  
  459. local innerFrame3=Instance.new('Frame',choiceFrame)
  460. innerFrame3.Size=UDim2.new(.5,0,1,0)
  461. innerFrame3.Position=UDim2.new(.5,0,0,0)
  462. innerFrame3.Draggable=true
  463. innerFrame3.BackgroundTransparency=.9
  464. innerFrame3.BackgroundColor3=Color3.new(.2,.2,.2)
  465. innerFrame3.BorderColor3=Color3.new(0,0,0)
  466. local innerFrame4=Instance.new('Frame',choiceFrame)
  467. innerFrame4.Size=UDim2.new(.5,0,1,0)
  468. innerFrame4.Draggable=false
  469. innerFrame4.BackgroundTransparency=.5
  470. innerFrame4.Position=UDim2.new(.5,0,1,1)
  471. innerFrame4.BackgroundColor3=Color3.new(.2,.2,.2)
  472. innerFrame4.BorderColor3=Color3.new(0,0,0)
  473. local musicID=Instance.new('TextBox',innerFrame4)
  474. musicID.Size=UDim2.new(.8,0,.7,0)
  475. musicID.Position=UDim2.new(.1,0,.15,0)
  476. musicID.BackgroundTransparency=.7
  477. musicID.Visible=true
  478. musicID.Text="Music ID"
  479. musicID.TextScaled=true
  480. musicID.TextStrokeTransparency=0
  481. musicID.TextStrokeColor3=Color3.new(.1,.1,.1)
  482. musicID.TextColor3=Color3.new(.7,.7,.7)
  483. musicID.BackgroundColor3=Color3.new(.2,.2,.2)
  484. musicID.BorderColor3=Color3.new(0,0,0)
  485. musicID.FocusLost:connect(function(ent)
  486. if ent then
  487. music.SoundId="http://www.roblox.com/asset?id="..musicID.Text
  488. end
  489. end)
  490. local bt3=Instance.new('TextButton',innerFrame3)
  491. bt3.Draggable=false
  492. bt3.BackgroundTransparency=.9
  493. bt3.BackgroundColor3=Color3.new(.2,.2,.2)
  494. bt3.Size=UDim2.new(.5,0,1,0)
  495. bt3.Text="Play"
  496. bt3.TextStrokeTransparency=0
  497. bt3.TextColor3=Color3.new(.7,.7,.7)
  498. bt3.TextScaled=true
  499. bt3.TextStrokeColor3=Color3.new(.1,.1,.1)
  500. bt3.Font="SourceSans"
  501. bt3.MouseButton1Click:connect(function()
  502. if not music.IsPlaying then
  503. musicID.Visible=false
  504. music:play''
  505. innerFrame4.Visible=false
  506. end
  507. end)
  508. local bt4=Instance.new('TextButton',innerFrame3)
  509. bt4.Draggable=false
  510. bt4.BackgroundTransparency=.9
  511. bt4.BackgroundColor3=Color3.new(.1,.1,.1)
  512. bt4.Size=UDim2.new(.5,0,1,0)
  513. bt4.Position=UDim2.new(.5,0,0,0)
  514. bt4.Text="Stop"
  515. bt4.TextStrokeTransparency=0
  516. bt4.TextColor3=Color3.new(.7,.7,.7)
  517. bt4.TextScaled=true
  518. bt4.TextStrokeColor3=Color3.new(.1,.1,.1)
  519. bt4.Font="SourceSans"
  520. bt4.MouseButton1Click:connect(function()
  521. if music.IsPlaying then
  522. music:stop''
  523. musicID.Visible=true
  524. innerFrame4.Visible=true
  525. end
  526. end)
  527.  
  528.  
  529. maus.KeyDown:connect(function(kei)
  530. if string.byte(kei)==48 and not otheranims then
  531. runnin=true
  532. end
  533. if kei=='x' and crouching and not opencd and not displaying then
  534. opens:play''
  535. opencd=true
  536. bboxout=true
  537. end
  538. if kei=='w' then fldb.w=true end
  539. if kei=='a' then fldb.a=true end
  540. if kei=='s' then fldb.s=true end
  541. if kei=='d' then fldb.d=true end
  542. if string.byte(kei)==50 then
  543. if otheranims and crouching then crouching=false otheranims=false if opencd then opencd=false bboxout=false ltout=false end
  544. elseif not otheranims and not crouching then
  545. otheranims=true
  546. crouching=true
  547. chr.Humanoid.WalkSpeed=WlkSpeed*.75
  548. end
  549. end
  550. if kei=='r' and not displaying then
  551. if not heli and not opencd and not displaying and crouching then
  552. opencd=true
  553. heli=true
  554. crouching=false
  555. flying=true
  556. helisn:play''
  557. helilt.Enabled=true
  558. helim2.Scale=Vector3.new(.5,.15,2)
  559. helim3.Scale=Vector3.new(.5,.15,2)
  560. chr.Humanoid.WalkSpeed=WlkSpeed
  561. bvelo.maxForce=Vector3.new(0,1/0,0)
  562. bvelo.velocity=Vector3.new(0,0,0)
  563. elseif heli and opencd then
  564. heli=false
  565. helilt.Enabled=false
  566. opencd=false
  567. flying=false
  568. helim2.Scale=Vector3.new(.5,.1,1)
  569. helim3.Scale=Vector3.new(.5,.1,1)
  570. helisn:stop''
  571. chr.Humanoid.WalkSpeed=WlkSpeed*.75
  572. crouching=true
  573. bvelo.maxForce=Vector3.new(0,0,0)
  574. end
  575. end
  576. if kei=='q' then
  577. bvelo.velocity=Vector3.new(0,-25,0)
  578. end
  579. if kei=='e' then
  580. bvelo.velocity=Vector3.new(0,20,0)
  581. end
  582. if kei=='z' and not opencd then
  583. displaying=true
  584. end
  585. if kei=='k' and not opencd and crouching and not displaying then
  586. opencd=true
  587. opens:play''
  588. chr.Humanoid.WalkSpeed=0
  589. local grbg=Instance.new('Part',workspace)
  590. grbg.Name="bomb"
  591. grbg.formFactor=3
  592. grbg.CFrame=base.CFrame*CFrame.new(0,5,0)
  593. grbg.TopSurface=10
  594. grbg.BottomSurface=10
  595. grbg.LeftSurface=10
  596. grbg.RightSurface=10
  597. grbg.BackSurface=10
  598. grbg.FrontSurface=10
  599. grbg.CanCollide=false
  600. grbg.Anchored=false
  601. grbg.Anchored=false
  602. grbg.Transparency=0
  603. grbg.Shape='Ball'
  604. grbg.BrickColor=BrickColor.new('Really black')
  605. grbg.Locked=true
  606. grbg.Size=Vector3.new(.8,.8,.8)
  607. grbg.Velocity=Vector3.new(0,100,0)
  608. grbg.Touched:connect(function(tch)
  609. if tch and tch.Parent then
  610. local expl=Instance.new('Explosion',workspace)
  611. expl.Position=grbg.Position
  612. expl.BlastPressure=1111111
  613. expl.BlastRadius=22
  614. grbg:destroy''
  615. end
  616. end)
  617. wait'1'
  618. opencd=false
  619. chr.Humanoid.WalkSpeed=WlkSpeed*.75
  620. end
  621. game:service'Debris':AddItem(grbg,5)
  622. if kei=='c' and not opencd and crouching and not displaying then
  623. opens:play''
  624. opencd=true
  625. lt.Enabled=true
  626. ltout=true
  627. end
  628. end)
  629. maus.KeyUp:connect(function(kei)
  630. if string.byte(kei)==48 and not otheranims then
  631. runnin=false
  632. end
  633. if kei=='w' then fldb.w=false end
  634. if kei=='a' then fldb.a=false end
  635. if kei=='s' then fldb.s=false end
  636. if kei=='d' then fldb.d=false end
  637. if kei=='x' and bboxout and opencd then
  638. bboxout=false
  639. opencd=false
  640. end
  641. if kei=='q' then
  642. bvelo.velocity=Vector3.new(0,0,0)
  643. end
  644. if kei=='e' then
  645. bvelo.velocity=Vector3.new(0,0,0)
  646. end
  647. if kei=='z' then
  648. displaying=false
  649. if imageType=="Table" then
  650. currentdecalid=currentdecalid+1
  651. if currentdecalid>#decals then currentdecalid=1 end
  652. img.Texture="http://www.roblox.com/asset?id="..decals[currentdecalid]-1
  653. end
  654. end
  655. if kei=='j' and crouching and otheranims and not displaying and not opencd and anim=='Crouching' then
  656. crouching=false
  657. anim='SuperJump'
  658. local bv=Instance.new('BodyVelocity',rutprt)
  659. bv.maxForce=Vector3.new(0,1/0,0)
  660. bv.velocity=Vector3.new(0,300,0)
  661. game:service'Debris':AddItem(bv,.5)
  662. wait'1'
  663. chr.Humanoid.Jump=true
  664. if anim=='SuperJump' then
  665. otheranims=false
  666. end
  667. end
  668. if kei=='v' and crouching and otheranims and not displaying then
  669. if not opencd then
  670. local rei=Ray.new(lid.CFrame.p,(lid.CFrame.p-(lid.CFrame*CFrame.new(0,0,-1)).p).unit*2)
  671. local hit,hitpos=workspace:FindPartOnRay(rei,chr)
  672. if hit and hit.Parent then
  673. opencd=true
  674. if hit.Parent:IsA'Model' then
  675. for   i,x in pairs(hit.Parent:GetChildren()) do if x:IsA'Humanoid' then   x.Sit=true x.Health=x.Health-(15*(x.MaxHealth/100)) hits:play'' end end
  676. if hit.Parent:findFirstChild('Torso') then
  677. local asd=Instance.new('BodyVelocity',hit.Parent.Torso)
  678. asd.velocity=((rutprt.CFrame*CFrame.new(0,4,1).p-rutprt.CFrame.p).unit*222)
  679. game:service'Debris':AddItem(asd,.4)
  680. end
  681. end
  682. wait'.5'
  683. opencd=false
  684. end
  685. end
  686. end
  687. if kei=='c' and opencd and ltout then
  688. opencd=false
  689. ltout=false
  690. lt.Enabled=false
  691. end
  692. end)
  693.  
  694. local nskn = NumberSequenceKeypoint.new
  695. maus.Button1Down:connect(function()
  696. if runnin and not otheranims and (rutprt.Velocity*Vector3.new(1,0,1)).magnitude>RunSpeed-5 and not TackleCD then
  697. otheranims=true
  698. TackleCD=true
  699. anim="Tackle"
  700. chr.Humanoid.WalkSpeed=0
  701. local bv=Instance.new('BodyVelocity',base)
  702. bv.Name='git gud'
  703. bv.maxForce=Vector3.new(1/0,0,1/0)
  704. bv.velocity=((rutprt.CFrame*CFrame.new(0,0,-3)).p-rutprt.CFrame.p).unit*(RunSpeed+(22*(RunSpeed/100)))
  705. wait'1'
  706. bv:destroy''
  707. otheranims=false
  708. wait'2'
  709. TackleCD=false
  710. end
  711. if not throwcd and crouching and otheranims and not opencd and not displaying then
  712. opencd=true
  713. throwcd=true
  714. opens:play''
  715. local grb=GarbageTypes[math.random(1,#GarbageTypes)]
  716. local grbg=Instance.new('Part',workspace)
  717. grbg.Name=grb[1]
  718. grbg.formFactor=3
  719. grbg.CFrame=base.CFrame*CFrame.new(0,4.5,-2)*CFrame.Angles(math.rad(math.random(1,180)),math.rad(math.random(1,180)),math.rad(math.random(1,180)))
  720. grbg.TopSurface=10
  721. grbg.BottomSurface=10
  722. grbg.LeftSurface=10
  723. grbg.RightSurface=10
  724. grbg.BackSurface=10
  725. grbg.FrontSurface=10
  726. grbg.CanCollide=false
  727. grbg.Anchored=false
  728. grbg.Anchored=false
  729. grbg.Transparency=0
  730. grbg.Locked=true
  731. grbg.Size=Vector3.new(.8,.8,.8)
  732. local emitter=Instance.new("ParticleEmitter",grbg)
  733. emitter.Rate=111
  734.  
  735. emitter.Acceleration=Vector3.new(0,5,0)
  736. emitter.Lifetime=NumberRange.new(2)
  737. --emitter.EmissionDirection="Back"
  738.  
  739. emitter.VelocitySpread=11
  740. emitter.Enabled=true
  741. emitter.Rotation=NumberRange.new(-15,15)
  742. emitter.RotSpeed=NumberRange.new(-25,25)
  743. emitter.Texture="http://www.roblox.com/asset?id="..alldecals[math.random(1,#alldecals)]
  744. emitter.Size = NumberSequence.new({
  745.         nskn(0    , 1 , 0);
  746.         nskn(0.123, .85  , 0);
  747.         nskn(0.154, .7 , 0);
  748.         nskn(0.208, .55 , 0);
  749.         nskn(0.357, .4 , 0);
  750.         nskn(0.555, .25 , 0);
  751.         nskn(0.725, .1, 0);
  752.         nskn(0.905, 0, 0);
  753.         nskn(1    , 0, 0);
  754. })
  755. emitter.Transparency=NumberSequence.new({nskn(0,0,0),nskn(.1,.1,0),nskn(.2,.2,0),nskn(.3,.3,0),nskn(.4,.4,0),nskn(.5,.5,0),nskn(.6,.6,0),nskn(.7,7,0),nskn(.8,.8,0),nskn(.9,.9,0),nskn(1,1,0)})
  756. local hitsnd=Instance.new('Sound',grbg)
  757. hitsnd.Volume=1
  758. hitsnd.Pitch=1
  759. hitsnd.SoundId="http://www.roblox.com/asset?id=144467617"
  760. local hitsnd2=Instance.new('Sound',grbg)
  761. hitsnd2.Volume=.5
  762. hitsnd2.Pitch=1.05
  763. hitsnd2.SoundId="http://www.roblox.com/asset?id="..grb[5]
  764. local magn=(maus.Hit.p-(base.CFrame*CFrame.new(0,4.5,-2)).p).magnitude
  765. grbg.Velocity=((maus.Hit.p-(base.CFrame*CFrame.new(0,4.5,-2)).p).unit*(magn*1.25))+Vector3.new(0,72.5,0)
  766. local firsthit=true
  767. local ms=Instance.new('SpecialMesh',grbg)
  768. ms.MeshId="http://www.roblox.com/asset?id="..grb[2]
  769. ms.TextureId="http://www.roblox.com/asset?id="..grb[3]
  770. ms.Scale=grb[4]
  771. grbg.Touched:connect(function(hit)
  772. if hit and hit.Parent and hit:IsA'Part' and hit.CanCollide and hit.Transparency<1 and firsthit then
  773. firsthit=false
  774. hitsnd:play''
  775. hitsnd2:play''
  776. grbg.Anchored=true
  777. grbg.Transparency=1
  778. game:service'Debris':AddItem(grbg,2)
  779. local expl=Instance.new('Part',workspace)
  780. expl.Name=grb[1]
  781. expl.formFactor=3
  782. expl.CFrame=CFrame.new(grbg.CFrame.x,grbg.CFrame.y,grbg.CFrame.z)
  783. expl.TopSurface=10
  784. expl.BottomSurface=10
  785. expl.LeftSurface=10
  786. expl.RightSurface=10
  787. expl.BackSurface=10
  788. expl.FrontSurface=10
  789. expl.CanCollide=false
  790. expl.Anchored=true
  791. expl.Transparency=1
  792. expl.Locked=true
  793. expl.Size=Vector3.new(.2,.2,.2)
  794. local emitr=Instance.new("ParticleEmitter",expl)
  795. emitr.Rate=333
  796. emitr.Speed=NumberRange.new(35,40)
  797. emitr.Acceleration=Vector3.new(0,-30,0)
  798. emitr.Lifetime=NumberRange.new(.5)
  799. emitr.EmissionDirection="Top"
  800. emitr.Transparency=NumberSequence.new({nskn(0,0,0),nskn(.1,.1,0),nskn(.2,.2,0),nskn(.3,.3,0),nskn(.4,.4,0),nskn(.5,.5,0),nskn(.6,.6,0),nskn(.7,7,0),nskn(.8,.8,0),nskn(.9,.9,0),nskn(1,1,0)})
  801.  
  802. emitr.VelocitySpread=120
  803. emitr.Enabled=true
  804. emitr.Rotation=NumberRange.new(-15,15)
  805. emitr.RotSpeed=NumberRange.new(-25,25)
  806. emitr.Texture=emitter.Texture
  807. emitr.Size = NumberSequence.new({
  808.         nskn(0    , 2 , 0);
  809.         nskn(0.123, 1.75  , 0);
  810.         nskn(0.154, 1.5 , 0);
  811.         nskn(0.208, 1.25 , 0);
  812.         nskn(0.357, 1 , 0);
  813.         nskn(0.555, .75 , 0);
  814.         nskn(0.725, .5, 0);
  815.         nskn(0.905, .25, 0);
  816.         nskn(1    , 0, 0);
  817. })
  818. emitter.Rate=0
  819. for i,x in pairs(workspace:GetChildren()) do
  820. if x:IsA'Model' and x:findFirstChild("Humanoid") and x:findFirstChild("Torso") and x:findFirstChild("Head") then
  821. if (x.Torso.Position-expl.Position).magnitude<=12 and x~=chr then
  822. x:breakJoints''
  823. end
  824. end
  825. end
  826. wait'.2'
  827. emitr.Rate=0
  828. game:service'Debris':AddItem(expl,1)
  829. end
  830. end)
  831. wait'.2'
  832. opencd=false
  833. wait'.6'
  834. throwcd=false
  835. end
  836.  
  837.  
  838.  
  839.  
  840.  
  841.  
  842. end)
  843.  
  844.  
  845.  
  846.  
  847. lid.Touched:connect(function(hit)
  848. if otheranims==true and anim=="Tackle" or anim=='SuperJump' and not hitdb and not hit.Parent:IsA'Hat' and hit.Name~='Base' then
  849. if anim=='SuperJump' then otheranims=false chr.Humanoid.Jump=true end
  850. hitdb=true
  851. if hit and hit.Parent then
  852. if hit.Parent:IsA'Model' then
  853. for i,x in pairs(hit.Parent:GetChildren()) do if x:IsA'Humanoid' then hit.Parent:breakJoints'' hits:play'' end end
  854. if hit.Parent.Parent then
  855. for i,x in pairs(hit.Parent.Parent:GetChildren()) do if x:IsA'Humanoid' then hit.Parent.Parent:breakJoints'' hits:play'' end end
  856. end
  857. end
  858. end
  859. wait'.8' hitdb=false
  860. end
  861. end)
  862.  
  863.  
  864. game:service'RunService'.RenderStepped:connect(function()
  865. if   chr:findFirstChild("Humanoid") and rarm:findFirstChild("Weld") and   larm:findFirstChild("Weld") and hed:findFirstChild("Weld") and   lleg:findFirstChild("Weld") and rleg:findFirstChild("Weld") and   rutprt:findFirstChild("Weld") then
  866. if anim~=lastanim then
  867. runtime=0
  868. end
  869. lastanim=anim
  870. chr.Humanoid.CameraOffset=(rutprt.CFrame:toObjectSpace(waifu.CFrame)).p+Vector3.new(0,-1.25,0)
  871. syne=syne+.95
  872. if not otheranims and not swimming then
  873. if   (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 and not   chr.Humanoid.Jump then-- and torso.Velocity.y<5 and   torso.Velocity.y>-5
  874. anim="Idling"
  875. elseif   (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 and   (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude < RunSpeed-10 and   not chr.Humanoid.Jump then-- and torso.Velocity.y<5 and   torso.Velocity.y>-5
  876. anim="Walking"
  877. elseif   (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > RunSpeed-10 and   not chr.Humanoid.Jump then-- and torso.Velocity.y<5 and   torso.Velocity.y>-5
  878. anim="Sprinting"
  879. elseif torso.Velocity.y>5 and chr.Humanoid.Jump then
  880. anim='Jumping'
  881. elseif (torso.Velocity.y < -5) and chr.Humanoid.Jump then
  882. anim='Falling'
  883. end
  884. end
  885. if otheranims and crouching and not swimming and not flying then
  886. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 then
  887. anim="Crouching"
  888. elseif (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 then
  889. anim="Sneaking"
  890. end
  891. end
  892.  
  893. if otheranims and flying and not swimming and not crouching then
  894. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 then
  895. anim="FlyIdle"
  896. heliweld1.C0=CFrame.new(0,3.25,0)*CFrame.Angles(0,syne,0)
  897. elseif (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 then
  898. anim="FlyForward"
  899. heliweld1.C0=CFrame.new(0,3.25,0)*CFrame.Angles(0,syne,0)
  900. end
  901. else
  902. heliweld1.C0=CFrame.new(0,0,0)
  903. end
  904.  
  905. if anim=="Idling" then
  906. idlesineinc=35
  907. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.475+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(0,0,math.rad(20)),.1)
  908. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.475+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(0,0,math.rad(-20)),.1)
  909. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.9-math.cos(syne/idlesineinc)/20,(math.cos(syne/idlesineinc)/35))*CFrame.Angles(-(math.cos(syne/idlesineinc)/35),0,math.rad(-2.5)),.1)
  910. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.9-math.cos(syne/idlesineinc)/20,(math.cos(syne/idlesineinc)/35))*CFrame.Angles(-(math.cos(syne/idlesineinc)/35),0,math.rad(2.5)),.1)
  911. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/idlesineinc)/50,0)*CFrame.Angles(math.cos(syne/idlesineinc)/40,0,0),.1)
  912. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/idlesineinc)/20,0)*CFrame.Angles(math.cos(syne/idlesineinc)/35+math.rad(0),math.rad(0),math.rad(0)),.1)
  913. canWeld.C0=Lerp(canWeld.C0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.05)
  914. end
  915.  
  916. if anim=="Walking" then
  917. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525+math.cos(syne/15)/25,0)*CFrame.Angles(math.cos(syne/6)/1.25,math.rad(5),-(math.cos(syne/6.75)/15)+math.rad(27)),.1)
  918. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525+math.cos(syne/15)/25,0)*CFrame.Angles(-(math.cos(syne/6)/1.25),0,-(math.cos(syne/6.75)/15)-math.rad(27)),.1)
  919. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.9-math.cos(syne/6)/10,-(math.cos(syne/6)/1.125))*CFrame.Angles(math.cos(syne/6)/1.125,0,math.rad(-2.5)),.1)
  920. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.9-math.cos(syne/6)/10,math.cos(syne/6)/1.125)*CFrame.Angles(-(math.cos(syne/6)/1.125),0,math.rad(2.5)),.1)
  921. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(-math.cos(syne/3)/20,0,0),.1)
  922. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/3.375)/20,math.cos(syne/3)/5)*CFrame.Angles(math.cos(syne/3)/20+math.rad(-3.5),math.cos(syne/6)/10,-math.cos(syne/6)/30+math.sin(rutprt.RotVelocity.y/2)/7.5),.1)
  923. canWeld.C0=Lerp(canWeld.C0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.05)
  924. end
  925.  
  926. if anim=="Sprinting" then
  927. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(-55),0,math.rad(32.5)),.1)
  928. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(-55),0,math.rad(-32.5)),.1)
  929. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.6-math.cos(syne/4)/4,-(math.cos(syne/4)*2)-math.rad(10))*CFrame.Angles(math.cos(syne/4)*2+math.rad(10),0,math.rad(-2.5)),.1)
  930. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.6-math.cos(syne/4)/4,math.cos(syne/4)*2-math.rad(10))*CFrame.Angles(-(math.cos(syne/4)*2)+math.rad(10),0,math.rad(2.5)),.1)
  931. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.55+math.cos(syne/20)/50,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(20),0,0),.1)
  932. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.3+math.cos(syne/2.5)/15,math.cos(syne/2.5))*CFrame.Angles(math.cos(syne/2.5)/10+math.rad(-25),math.cos(syne/2.5)/10,math.cos(syne/4)/20+math.sin(rutprt.RotVelocity.y/2)/4),.1)
  933. canWeld.C0=Lerp(canWeld.C0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.05)
  934. end
  935.  
  936. if anim=="Jumping" then
  937. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(50)),.1)
  938. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.1)
  939. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.4,0)*CFrame.Angles(math.rad(-17.5),0,math.rad(-2.5)),.1)
  940. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.1,-.1)*CFrame.Angles(math.rad(-17.5),0,math.rad(2.5)),.1)
  941. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(math.cos(syne/20)/40,0,0),.1)
  942. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/20)/20,0)*CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0)),.1)
  943. canWeld.C0=Lerp(canWeld.C0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.05)
  944. end
  945.  
  946. if anim=="Tackle" then
  947. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(50)),.1)
  948. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.1)
  949. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.4,0)*CFrame.Angles(math.rad(-17.5),0,math.rad(-2.5)),.1)
  950. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.4,0)*CFrame.Angles(math.rad(-17.5),0,math.rad(2.5)),.1)
  951. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.cos(syne/20)/40,0,0),.1)
  952. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0)),.1)
  953. canWeld.C0=Lerp(canWeld.C0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.05)
  954. end
  955.  
  956. if anim=="Falling" then
  957. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(70)),.035)
  958. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-70)),.035)
  959. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.2,0)*CFrame.Angles(math.rad(-14),0,math.rad(-2.5)),.035)
  960. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.9,0)*CFrame.Angles(math.rad(0),0,math.rad(2.5)),.035)
  961. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,-.3)*CFrame.Angles(math.rad(-40),0,0),.035)
  962. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/20)/20,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)),.035)
  963. canWeld.C0=Lerp(canWeld.C0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.05)
  964. end
  965.  
  966. if anim=="SuperJump" then
  967. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.4,.525,0)*CFrame.Angles(math.rad(175),0,math.rad(10)),.15)
  968. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.4,.525,0)*CFrame.Angles(math.rad(175),0,math.rad(-10)),.15)
  969. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.5,0)*CFrame.Angles(math.rad(-17.5),0,math.rad(-2.5)),.15)
  970. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.5,0)*CFrame.Angles(math.rad(-17.5),0,math.rad(2.5)),.15)
  971. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),.15)
  972. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-3,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  973. canWeld.C0=Lerp(canWeld.C0,CFrame.new(0,3,0)*CFrame.Angles(0,0,0),.15)
  974. end
  975.  
  976. if anim=="Crouching" then
  977. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
  978. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
  979. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.5,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
  980. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.5,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
  981. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),.1)
  982. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1.75,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  983. canWeld.C0=Lerp(canWeld.C0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.05)
  984. end
  985.  
  986. if anim=="Sneaking" then
  987. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
  988. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
  989. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-.8-math.cos(syne/6)/8,-(math.cos(syne/6)/1.75))*CFrame.Angles(math.cos(syne/6)/1.75,0,math.rad(-2.5)),.15)
  990. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-.8-math.cos(syne/6)/8,math.cos(syne/6)/1.75)*CFrame.Angles(-(math.cos(syne/6)/1.75),0,math.rad(2.5)),.15)
  991. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),.1)
  992. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1.2,0)*CFrame.Angles(math.rad(-5),math.rad(0),math.cos(syne/6)/20),.1)
  993. canWeld.C0=Lerp(canWeld.C0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.05)
  994. end
  995.  
  996. if anim=="FlyIdle" then
  997. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
  998. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
  999. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.5,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
  1000. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.5,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
  1001. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),.1)
  1002. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1.75-math.cos(syne/17.5),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.05)
  1003. canWeld.C0=Lerp(canWeld.C0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.05)
  1004. end
  1005. if anim=="FlyForward" then
  1006. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
  1007. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
  1008. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.5,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
  1009. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.5,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
  1010. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),.1)
  1011. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1.75-math.cos(syne/17.5),0)*CFrame.Angles(math.rad(-12),math.rad(0),math.rad(0)),.05)
  1012. canWeld.C0=Lerp(canWeld.C0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.05)
  1013. end
  1014.  
  1015. if opencd and otheranims then
  1016. lidWeld.C0=Lerp(lidWeld.C0,CFrame.new(0,3,-1)*CFrame.Angles(math.rad(85),math.rad(0),math.rad(0)),.222)
  1017. music.Volume=TwnSingleNumber(music.Volume,.7,.025)
  1018. elseif not opencd and not displaying then
  1019. music.Volume=TwnSingleNumber(music.Volume,.025,.05)
  1020. elseif not opencd and displaying then
  1021. music.Volume=TwnSingleNumber(music.Volume,.325,.05)
  1022. end
  1023. if bboxout then
  1024. bbweld.C0=Lerp(bbweld.C0,CFrame.new(0,1.9,.2)*CFrame.Angles(math.rad(15),math.rad(0),math.rad(0)),.222)
  1025. else
  1026. bbweld.C0=Lerp(bbweld.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.075)
  1027. end
  1028. if ltout then
  1029. blbweld.C0=Lerp(blbweld.C0,CFrame.new(0,1.7,-.7)*CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0)),.222)
  1030. lt.Range=TwnSingleNumber(lt.Range,16,.1)
  1031. else
  1032. blbweld.C0=Lerp(blbweld.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.075)
  1033. lt.Range=0
  1034. end
  1035. if displaying then
  1036. girlWeld.C0=Lerp(girlWeld.C0,CFrame.new(0,2.2,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.075)
  1037. lidWeld.C0=Lerp(lidWeld.C0,CFrame.new(0,.15,.75)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)),.15)
  1038. else
  1039. girlWeld.C0=Lerp(girlWeld.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1040. lidWeld.C0=Lerp(lidWeld.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.075)
  1041. end
  1042. if runnin and not otheranims and not swimming then
  1043. chr.Humanoid.WalkSpeed=RunSpeed
  1044. elseif not runnin and not otheranims and not swimming then
  1045. chr.Humanoid.WalkSpeed=WlkSpeed
  1046. end
  1047. end
  1048. end)
  1049. end
  1050. do
  1051.         player = owner or game:GetService("Players").LocalPlayer
  1052.  
  1053. chatted = false
  1054.  
  1055.  
  1056. a = Instance.new("BillboardGui", player.Character:FindFirstChild("Head"))
  1057. a.ExtentsOffset = Vector3.new(1,0,0)
  1058. a.Size = UDim2.new(1,0,1,0)
  1059. a.AlwaysOnTop = true
  1060. a.Enabled = true
  1061. b =  Instance.new("ImageLabel", a)
  1062. b.BackgroundTransparency = 1
  1063. b.BorderSizePixel = 0
  1064. b.Image = "http://www.roblox.com/asset/?id=243503908"
  1065. b.ImageTransparency = 0.1
  1066. b.Position = UDim2.new(0.2,0,0.05,0)
  1067. b.Size = UDim2.new(5,0,1.2,0)
  1068. b.Visible = false
  1069. c = Instance.new("TextLabel", b)
  1070. c.BackgroundTransparency = 1
  1071. c.BorderSizePixel = 0
  1072. c.Position = UDim2.new(0.1,0,0)
  1073. c.Size = UDim2.new(0.5,0,0.4,0)
  1074. c.ZIndex = 2
  1075. c.Font = "SourceSans"
  1076. c.FontSize = "Size18"
  1077. c.Text = player.Name..":"
  1078. c.TextColor3 = Color3.new(255/255,255/255,255/255)
  1079. c.TextXAlignment = "Left"
  1080. c.TextYAlignment = "Center"
  1081. d = Instance.new("TextLabel", b)
  1082. d.BackgroundTransparency = 1
  1083. d.BorderSizePixel = 0
  1084. d.Position = UDim2.new(0.1,0,0.4,0)
  1085. d.Size = UDim2.new(0.9,0,0.6,0)
  1086. d.ZIndex = 2
  1087. d.Font = "SourceSans"
  1088. d.FontSize = "Size18"
  1089. d.Text = ""
  1090. d.TextColor3 = Color3.new(255/255,255/255,255/255)
  1091. d.TextXAlignment = "Left"
  1092. d.TextYAlignment = "Top"
  1093. d.TextWrapped = true
  1094.  
  1095.  
  1096. function message(message)  
  1097. repeat wait() until chatted == false
  1098. chatted = true
  1099. b.Visible = true   
  1100. if string.find(message,"-r") ~=nil then
  1101. for i=1,string.len(message),1 do
  1102. d.TextColor3 = Color3.new(math.random(1,255)/255,math.random(1,255)/255,math.random(1,255)/255)
  1103. d.Text = string.sub(message,1,i)
  1104. wait(0.1)  
  1105. end
  1106. elseif string.find(message,"-b") ~=nil then
  1107. for i=1,string.len(message),1 do   
  1108. d.Text = string.sub(string.byte(message),1,i)
  1109. wait(0.05) 
  1110. end
  1111. else
  1112. for i=1,string.len(message),1 do   
  1113. d.Text = string.sub(message,1,i)
  1114. wait(0.05) 
  1115. end
  1116. end
  1117. wait(2)
  1118. if string.find(message,"-t") ~=nil then
  1119. b.Visible = true
  1120. else
  1121. b.Visible = false
  1122. d.TextColor3  = Color3.new(255/255,255/255,255/255)        
  1123. end
  1124. chatted = false
  1125. end
  1126.  
  1127.  
  1128.  
  1129.  
  1130. player.Chatted:connect(message)
  1131. end
  1132. -- ~Clarramore 2016
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement