Advertisement
Fluxushr

Untitled

Apr 13th, 2023
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 73.47 KB | None | 0 0
  1.  
  2.  
  3.  
  4. local lp = game:GetService("Players").LocalPlayer
  5. local rs = game:GetService("RunService")
  6. local stepped = rs.Stepped
  7. local heartbeat = rs.Heartbeat
  8. local renderstepped = rs.RenderStepped
  9. local sg = game:GetService("StarterGui")
  10. local ws = game:GetService("Workspace")
  11. local cf = CFrame.new
  12. local v3 = Vector3.new
  13. local v3_0 = Vector3.zero
  14. local inf = math.huge
  15.  
  16. local cplayer = lp.Character
  17.  
  18. local v3 = Vector3.new
  19.  
  20. local function gp(parent, name, className)
  21. if typeof(parent) == "Instance" then
  22. for i, v in pairs(parent:GetChildren()) do
  23. if (v.Name == name) and v:IsA(className) then
  24. return v
  25. end
  26. end
  27. end
  28. return nil
  29. end
  30.  
  31.  
  32.  
  33. local playerss = game:GetService("Players").LocalPlayer.Character
  34.  
  35.  
  36.  
  37. local dammf = game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
  38. dammf.RequiresNeck = false
  39. dammf.BreakJointsOnDeath = false
  40. for stupidfucking, omfg in pairs(game:GetService("Players").LocalPlayer.Character:GetChildren()) do
  41. if omfg:IsA("BasePart") then
  42. omfg.Anchored = true
  43. omfg.Velocity = Vector3.new(0, 0, 0)
  44. omfg.Transparency = 1
  45. for stupidfucking, omfg in pairs(omfg:GetChildren()) do
  46. if omfg:IsA("Motor6D") then
  47. omfg.Part0 = nil
  48. end
  49. end
  50. end
  51. end
  52.  
  53.  
  54. --[[
  55. get real
  56. ]]
  57. function randomstring()
  58. local e = {}
  59. for i = 1,math.random(1,10) do
  60. table.insert(e,#e+1,utf8.char(math.random(0,10175)))
  61. end
  62. return table.concat(e)
  63. end
  64.  
  65. local event,connection,backups = nil,nil,{}
  66. local cn,euler,rad,random,c3,v3,clamp,sin,cos = CFrame.new,CFrame.fromEulerAnglesYXZ,math.rad,math.random,Color3.fromRGB,Vector3.new,math.clamp,math.sin,math.cos
  67. local hc0,lac0,rac0,llc0,rlc0,sine,animspeed,attack,keys,poscframe,ypos,yvelo,raycastparams,changingsoundvolume,partexclusion,gay,songid,loudnerd,firstperson,moving,velocity = cn(0,1.5,0),cn(-1.5,0,0),cn(1.5,0,0),cn(-0.5,-2,0),cn(0.5,-2,0),0,0.8/4,false,{w=false,a=false,s=false,d=false,space=false},cn(),50,0,RaycastParams.new(),false,{},"angry",9114625745,false,false,false,v3()
  68. script.Name = randomstring()
  69. game:GetService("RunService").RenderStepped:Wait()
  70. script:Destroy()
  71. local other = false
  72. local ScriptSignals = {}
  73. local speak = false
  74. local unfairtables = false
  75. if not game:IsLoaded() then game.Loaded:Wait() end
  76. local plrs,run,insert,rf,debris,workspace,ts,uis,pps = game:GetService("Players"),game:GetService("RunService"),game:GetService("ProximityPromptService"),game:GetService("ReplicatedFirst"),game:GetService("Debris"),workspace,game:GetService("TweenService"),game:GetService("UserInputService"),game:GetService("ProximityPromptService")
  77.  
  78. local localplayer,username = plrs.LocalPlayer,game:GetService("Players").LocalPlayer.Name
  79. local userid,mouse,localuserid = game:GetService("Players").LocalPlayer.UserId,localplayer:GetMouse(),localplayer.UserId
  80. local c,r,h,t,la,ra,ll,rl,face,gun,cm,rm,hm,tm,lam,ram,llm,rlm,gunm
  81. local hoffset,toffset,laoffset,raoffset,lloffset,rloffset,gunoffset,eventname = hc0,cn(),lac0,rac0,llc0,rlc0,cn(-0.125,-0.898999929,0.95400238)*euler(0,rad(90),rad(-172.5)),script:GetAttribute("EventName")
  82. raycastparams.FilterType,raycastparams.IgnoreWater = Enum.RaycastFilterType.Blacklist,true
  83. local Character
  84. local plr = game:GetService("Players").LocalPlayer
  85. local Player = plrs:FindFirstChild(username)
  86. local Meshs
  87. local hicolor
  88. local eventremoved
  89. local cam = workspace.CurrentCamera
  90. local camerapos = nil
  91. local Materials = {"Brick","Cobblestone","Concrete","Fabric","Granite","Grass","Glass","Marble","Neon","Pebble","Plastic","Sand","SmoothPlastic","Slate","Wood","WoodPlanks"}
  92. function tween(instance,properties,duration,easingdirection,easingstyle)
  93. pcall(function()
  94. if easingstyle == nil then easingstyle = Enum.EasingStyle.Quad end
  95. ts:Create(instance,TweenInfo.new(duration,easingstyle,easingdirection),properties):Play()
  96. end)
  97. end
  98. local Parents3 = {"Workspace","SoundService","Chat","MarketplaceService","Players","StarterPlayer","LocalizationService","JointsService","FriendService","InsertService","Lighting","Teams","ReplicatedStorage","TestService","ProximityPromptService","RunService","Debris","StarterGui","StarterPlayer"}
  99. local sexe = 0
  100. local isceat_ceat = userid == 466270319 or userid == 2252833773 or userid == 1668392794 or userid == 2373291799
  101.  
  102. local StudioDum
  103. local Wowie
  104. local Fly
  105. local ActiveFly
  106. local FlyDown
  107. local FlyUp
  108. local Attack
  109. local LoudMode
  110. local ActiveLoud
  111. local Types
  112. local Types_2
  113. local Mode
  114. local HeartUndertale
  115. local Attack_2
  116.  
  117. function change(instance,properties)
  118. for i, v in next, properties do
  119. instance[i] = v
  120. end
  121. end
  122. function create(class,properties)
  123. local instance = Instance.new(class)
  124. instance.Name = randomstring()
  125. change(instance,properties)
  126. return instance
  127. end
  128. local modes = nil
  129.  
  130. function gettransparency(transparency)
  131. if firstperson then
  132. return 1
  133. else
  134. return transparency
  135. end
  136. end
  137.  
  138.  
  139.  
  140. function Swait(num)
  141. if num == 0 or num == nil then
  142. game:GetService("RunService").RenderStepped:Wait()
  143. else
  144. for i = 1, num do
  145. game:GetService("RunService").RenderStepped:Wait()
  146. end
  147. end
  148. end
  149. swait = Swait
  150. function newmode(howtouseindexlol)
  151. gay = howtouseindexlol
  152. end
  153.  
  154. if not table.find(partexclusion,game:GetService("Players").LocalPlayer.Character) then
  155. table.insert(partexclusion,game:GetService("Players").LocalPlayer.Character)
  156. end
  157. if not Effects or Effects.Parent ~= workspace.Terrain or Effects.Archivable ~= false then
  158.  
  159. Effects = Instance.new("WorldModel")
  160. Effects.Parent = workspace.Terrain
  161. Effects.Name = randomstring()
  162. Effects.Archivable = false
  163. end
  164. if not c or c.Parent ~= playerss or c.Transparency ~= 1 or c.CastShadow or not c.Anchored or c.CanCollide or c.Archivable or not c.Locked then
  165.  
  166. c = Instance.new("Part")
  167. c.Transparency = 1
  168. c.Name = randomstring()
  169. c.CanCollide = true
  170. c.Anchored = true
  171. c.CanTouch = false
  172. c.Locked = true
  173. c.CastShadow = false
  174. c.Parent = workspace
  175. c.Archivable = false
  176. end
  177. if not table.find(partexclusion,c) then
  178. table.insert(partexclusion,c)
  179. end
  180. if not r or r.Parent ~= playerss or r.Transparency ~= 1 or r.CastShadow or not r.Anchored or r.CanCollide or r.Archivable or not r.Locked then
  181. r = playerss.HumanoidRootPart
  182. r.CFrame = poscframe
  183.  
  184. RootPart = r
  185.  
  186. end
  187.  
  188. if not table.find(partexclusion,r) then
  189. table.insert(partexclusion,r)
  190. end
  191. if not face or face.Parent ~= h or face.Texture ~= "rbxasset://textures/face.png" or face.Color3 ~= c3(255,255,255) or face.Transparency ~= 0 or face.Face ~= Enum.NormalId.Front then
  192. if h then
  193.  
  194. end
  195. end
  196. if not t or t.Parent ~= playerss or t.Transparency ~= 0 or t.LocalTransparencyModifier ~= 0 or t.CastShadow or not t.Anchored or t.CanCollide or t.Archivable or not t.Locked then
  197. t = playerss.Torso
  198. t.CFrame = r.CFrame*toffset
  199.  
  200. end
  201. if not table.find(partexclusion,t) then
  202. table.insert(partexclusion,t)
  203. end
  204. if not h or h.Parent ~= playerss or h.Transparency ~= 0 or h.LocalTransparencyModifier ~= 0 or h.CastShadow or not h.Anchored or h.CanCollide or h.Archivable or not h.Locked then
  205. h = playerss.Head
  206. h.CFrame = t.CFrame*hoffset
  207.  
  208. face = Instance.new("Decal",h)
  209. face.Texture = "rbxasset://textures/face.png"
  210. face.Transparency = 0
  211. face.Face = Enum.NormalId.Front
  212. end
  213. if not table.find(partexclusion,h) then
  214. table.insert(partexclusion,h)
  215. end
  216. if not la or la.Parent ~= playerss or la.Transparency ~= 0 or la.LocalTransparencyModifier ~= 0 or la.Reflectance ~= 0 or la.CastShadow or not la.Anchored or la.CanCollide or la.Archivable or not la.Locked then
  217. la = playerss["Left Arm"]
  218. la.CFrame = t.CFrame*laoffset
  219.  
  220. end
  221. if not table.find(partexclusion,la) then
  222. table.insert(partexclusion,la)
  223. end
  224. if not ra or ra.Parent ~= playerss or ra.Transparency ~= 0 or ra.LocalTransparencyModifier ~= 0 or t.CastShadow or not ra.Anchored or ra.CanCollide or ra.Archivable or not ra.Locked then
  225. ra = playerss["Right Arm"]
  226. ra.CFrame = t.CFrame*raoffset
  227.  
  228. end
  229. if not table.find(partexclusion,ra) then
  230. table.insert(partexclusion,ra)
  231. end
  232. if not ll or ll.Parent ~= playerss or ll.Transparency ~= 0 or ll.LocalTransparencyModifier ~= 0 or ll.CastShadow or not ll.Anchored or ll.CanCollide or ll.Archivable or not ll.Locked then
  233. ll = playerss["Left Leg"]
  234. ll.CFrame = t.CFrame*lloffset
  235.  
  236.  
  237. end
  238. if not table.find(partexclusion,ll) then
  239. table.insert(partexclusion,ll)
  240. end
  241. if not rl or rl.Parent ~= playerss or rl.Transparency ~= 0 or rl.LocalTransparencyModifier ~= 0 or rl.CastShadow or not rl.Anchored or rl.CanCollide or rl.Archivable or not rl.Locked then
  242. rl = playerss["Right Leg"]
  243. rl.CFrame = t.CFrame*rloffset
  244.  
  245.  
  246. end
  247.  
  248. if not table.find(partexclusion,rl) then
  249. table.insert(partexclusion,rl)
  250. end
  251. if not gun or gun.Parent ~= playerss or gun.Transparency ~= 0 or gun.LocalTransparencyModifier ~= 0 or gun.CastShadow or not gun.Anchored or gun.CanCollide or gun.Archivable or not gun.Locked then
  252.  
  253. gun = Instance.new("Part"):Clone()
  254. gun.Material = "Neon"
  255. gun.Color = Color3.new(1,1,1)
  256. gun.CFrame = ra.CFrame*gunoffset
  257. gun.CanCollide = true
  258. gunlight = Instance.new("PointLight")
  259. gunlight.Parent = gun
  260. gunlight.Range = 6
  261. gunlight.Brightness = 7.06
  262. gun.Transparency = 0
  263. gun.Name = randomstring()
  264. gun.Anchored = true
  265. gun.CanTouch = false
  266. gun.CastShadow = false
  267. gun.Locked = true
  268. gun.Archivable = false
  269. gun.Parent = playerss
  270. end
  271. if not table.find(partexclusion,gun) then
  272. table.insert(partexclusion,gun)
  273. end
  274.  
  275. if not rlm or rlm.Parent ~= rl then
  276. debris:AddItem(rlm,0)
  277. rlm = Instance.new("SpecialMesh")
  278. rlm.TextureId = "rbxassetid://5891509571"
  279. rlm.MeshId = "rbxassetid://7136860472"
  280. rlm.Parent = rl
  281. rlm.Archivable = false
  282. rlm.Name = randomstring()
  283. end
  284. if not llm or llm.Parent ~= ll then
  285. debris:AddItem(llm,0)
  286. llm = Instance.new("SpecialMesh")
  287. llm.MeshId = "rbxassetid://7136860472"
  288. llm.TextureId = "rbxassetid://5891509571"
  289. llm.Parent = ll
  290. llm.Archivable = false
  291. llm.Name = randomstring()
  292. end
  293. if not hm or hm.Parent ~= h then
  294. debris:AddItem(hm,0)
  295. hm = Instance.new("SpecialMesh")
  296. hm.TextureId = "rbxassetid://5891509571"
  297. hm.MeshId = "rbxassetid://7136622085"
  298. hm.Parent = h
  299. hm.Archivable = false
  300. hm.Name = randomstring()
  301. end
  302. if not ram or ram.Parent ~= ra then
  303. debris:AddItem(ram,0)
  304. ram = Instance.new("SpecialMesh")
  305. ram.TextureId = "rbxassetid://5891509571"
  306. ram.MeshId = "rbxassetid://7136860472"
  307. ram.Parent = ra
  308. ram.Archivable = false
  309. ram.Name = randomstring()
  310. end
  311. if not lam or lam.Parent ~= la then
  312. debris:AddItem(lam,0)
  313. lam = Instance.new("SpecialMesh")
  314. lam.TextureId = "rbxassetid://5891509571"
  315. lam.MeshId = "rbxassetid://7136860472"
  316. lam.Archivable = false
  317. lam.Parent = la
  318. lam.Name = randomstring()
  319. end
  320. if not tm or tm.Parent ~= t then
  321. debris:AddItem(tm,0)
  322. tm = Instance.new("SpecialMesh")
  323. tm.TextureId = "rbxassetid://5891509571"
  324. tm.MeshId = "rbxasset://fonts/torso.mesh"
  325. tm.Parent = t
  326. tm.Archivable = false
  327. tm.Name = randomstring()
  328. end
  329. if not gunm or gunm.Parent ~= gun then
  330. debris:AddItem(gunm,0)
  331. gunm = Instance.new("SpecialMesh")
  332. gunm.TextureId = "rbxassetid://55260662"
  333. gunm.MeshId = "rbxassetid://1736736188"
  334. gunm.VertexColor = Vector3.new(255,255,255)
  335. gunm.Parent = gun
  336. gunm.Archivable = false
  337. gunm.Name = randomstring()
  338. gun.Transparency = 1
  339. end
  340. if r.CFrame.X >= 3000 or r.CFrame.Y >= 3000 or r.CFrame.Z >= 3000 or r.CFrame.X <= -3000 or r.CFrame.Y <= -3000 or r.CFrame.Z <= -3000 then
  341. refresh()
  342. respawnchr()
  343. end
  344.  
  345. local function AlignHat(p1,p2,nomesh)
  346. pcall(function()
  347. p1:FindFirstChildOfClass("Weld"):Destroy()
  348. if nomesh then
  349. p1:FindFirstChildOfClass("SpecialMesh"):Destroy()
  350. end
  351. end)
  352. --p1.AccessoryWeld:Destroy()
  353. A1 = Instance.new("Attachment", p1)
  354. A2 = Instance.new("Attachment", p2)
  355. Mover = Instance.new("AlignPosition", p1)
  356. Mover.RigidityEnabled = false
  357. Mover.Attachment0 = A1
  358. Mover.Attachment1 = A2
  359. Mover.Responsiveness = 200
  360. Mover.MaxVelocity = math.huge
  361. Mover.MaxForce = math.huge
  362. Rotater = Instance.new("AlignOrientation", p1)
  363. Rotater.RigidityEnabled = false
  364. Rotater.Attachment0 = A1
  365. Rotater.Attachment1 = A2
  366. Rotater.Responsiveness = 200
  367. Rotater.MaxAngularVelocity = math.huge
  368. Rotater.MaxTorque = math.huge
  369. end
  370.  
  371. pcall(function()
  372. Railgun = game:GetService("Players").LocalPlayer.Character["Surfboard"].Handle
  373. AlignHat(Railgun,gun,false)
  374. Railgun.Attachment.Rotation = Vector3.new(-90, -180, 90)
  375. Railgun.Attachment.Position = Vector3.new(-1, -0, 0)
  376. --Railgun.Attachment.CFrame = CFrame.new(-1.29999995, 0.200000003, 0, -4.37113883e-08, 0.707106829, -0.707106829, 0, 0.707106829, 0.707106829, 1, 3.09086232e-08, -3.09086197e-08)
  377. end)
  378.  
  379. local Mouse = plr:GetMouse()
  380. Mouse.Button1Down:Connect(function()
  381. if attack then
  382. DamageFling(Mouse.Hit.p)
  383. end
  384.  
  385. end)
  386.  
  387.  
  388. function CreateMesh(MESH,PARENT,MESHTYPE,MESHID,TEXTUREID,SCALE,OFFSET)
  389. local NEWMESH = Instance.new(MESH)
  390. if MESH == "SpecialMesh" then
  391. NEWMESH.MeshType = MESHTYPE
  392. if MESHID ~= "nil" and MESHID ~= "" and tonumber(MESHID) ~= nil then
  393. NEWMESH.MeshId = "rbxassetid://"..MESHID
  394. elseif MESHID ~= "nil" and MESHID ~= "" then
  395. NEWMESH.MeshId = MESHID
  396. end
  397. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  398. NEWMESH.TextureId = "rbxassetid://"..TEXTUREID
  399. end
  400. end
  401. NEWMESH.Offset = OFFSET or Vector3.new()
  402. NEWMESH.Scale = SCALE
  403. NEWMESH.Parent = PARENT
  404. return NEWMESH
  405. end
  406.  
  407. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  408. NEWSOUND = Instance.new("Sound")
  409. NEWSOUND.Parent = PARENT
  410. NEWSOUND.Volume = VOLUME
  411. NEWSOUND.Pitch = PITCH
  412. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  413. NEWSOUND.Looped = DOESLOOP
  414. NEWSOUND:play()
  415. return NEWSOUND
  416. end
  417.  
  418. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  419. NEWPART = Instance.new("Part")
  420. NEWPART.formFactor = FORMFACTOR
  421. NEWPART.Reflectance = REFLECTANCE
  422. NEWPART.Transparency = TRANSPARENCY
  423. NEWPART.CanCollide = false
  424. NEWPART.Locked = true
  425. NEWPART.Anchored = true
  426. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  427. NEWPART.Name = NAME
  428. NEWPART.Size = SIZE
  429. NEWPART.Material = MATERIAL
  430. NEWPART:BreakJoints()
  431. NEWPART.Parent = PARENT
  432. return NEWPART
  433. end
  434. local CameraZoom = 1
  435. function WACKYEFFECT(Table)
  436. local TYPE = (Table.EffectType or "Sphere")
  437. local SIZE = (Table.Size or Vector3.new(1,1,1))
  438. local ENDSIZE = (Table.Size2 or Vector3.new())
  439. local TRANSPARENCY = (Table.Transparency or 0)
  440. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  441. local CFRAME = (Table.CFrame or r.CFrame)
  442. local MOVEDIRECTION = (Table.MoveToPos or nil)
  443. local ROTATION1 = (Table.RotationX or 0)
  444. local ROTATION2 = (Table.RotationY or 0)
  445. local ROTATION3 = (Table.RotationZ or 0)
  446. local MATERIAL = (Table.Material or "Neon")
  447. local COLOR = (Table.Color or hicolor)
  448. local hOK,sOK,vOK = Color3.toHSV(COLOR)
  449. local RAINBOWPART = false
  450. if sOK > .1 then
  451. RAINBOWPART = true
  452. end
  453. local TIME = (Table.Time or 45)
  454. local SOUNDID = (Table.SoundID or nil)
  455. local SOUNDPITCH = (Table.SoundPitch or nil)
  456. local SOUNDVOLUME = (Table.SoundVolume or nil)
  457. local posC = (Table.posC or nil)
  458. local oriC = (Table.oriC or nil)
  459. local SizeC = (Table.SizeC or Vector3.new(0,0,0))
  460. coroutine.resume(coroutine.create(function()
  461. local PLAYSSOUND = false
  462. local SOUND = nil
  463. local EFFECT = CreatePart(3,Effects,MATERIAL,0,TRANSPARENCY,hicolor,randomstring(),Vector3.new(1,1,1),true)
  464. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  465. PLAYSSOUND = true
  466. SOUND = CreateSound(SOUNDID,EFFECT,SOUNDVOLUME,SOUNDPITCH,false)
  467. end
  468. EFFECT.Color = COLOR
  469. local MSH = nil
  470. if TYPE == "Sphere" then
  471. MSH = CreateMesh("SpecialMesh",EFFECT,"Sphere","","",SIZE,Vector3.new())
  472. elseif TYPE == "Block" then
  473. MSH = Instance.new("BlockMesh",EFFECT)
  474. MSH.Scale = Vector3.new(SIZE.X,SIZE.Y,SIZE.Z)
  475. elseif TYPE == "Wave" then
  476. MSH = CreateMesh("SpecialMesh",EFFECT,"FileMesh","20329976","",SIZE,Vector3.new(0,0,-SIZE.X/8))
  477. elseif TYPE == "Ring" then
  478. MSH = CreateMesh("SpecialMesh",EFFECT,"FileMesh","559831844","",Vector3.new(SIZE.X,SIZE.X,.1),Vector3.new())
  479. elseif TYPE == "Slash" then
  480. MSH = CreateMesh("SpecialMesh",EFFECT,"FileMesh","662586858","",Vector3.new(SIZE.X/10,0,SIZE.X/10),Vector3.new())
  481. elseif TYPE == "Round Slash" then
  482. MSH = CreateMesh("SpecialMesh",EFFECT,"FileMesh","662585058","",Vector3.new(SIZE.X/10,0,SIZE.X/10),Vector3.new())
  483. elseif TYPE == "Swirl" then
  484. MSH = CreateMesh("SpecialMesh",EFFECT,"FileMesh","1051557","",SIZE,Vector3.new())
  485. elseif TYPE == "Skull" then
  486. MSH = CreateMesh("SpecialMesh",EFFECT,"FileMesh","4770583","",SIZE,Vector3.new())
  487. elseif TYPE == "Crystal" then
  488. MSH = CreateMesh("SpecialMesh",EFFECT,"FileMesh","9756362","",SIZE,Vector3.new())
  489. end
  490. if MSH ~= nil then
  491. local MOVESPEED = nil
  492. if MOVEDIRECTION ~= nil then
  493. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  494. end
  495. local GROWTH = SIZE - ENDSIZE
  496. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  497. EFFECT.CFrame = CFRAME
  498. if SizeC then
  499. MSH.Scale = MSH.Scale+SizeC*(0.01*TIME)
  500. end
  501. for LOOP = 1,TIME+1 do
  502. swait()
  503. MSH.Scale = MSH.Scale - GROWTH/TIME
  504. if TYPE == "Wave" then
  505. MSH.Offset = Vector3.new(0,0,-MSH.Scale.X/8)
  506. end
  507. if oriC and posC then
  508. EFFECT.CFrame = EFFECT.CFrame * (posC * oriC)
  509. end
  510. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  511. EFFECT.CFrame = EFFECT.CFrame*CFrame.Angles(math.rad(ROTATION1),math.rad(ROTATION2),math.rad(ROTATION3))
  512. if MOVEDIRECTION ~= nil then
  513. local ORI = EFFECT.Orientation
  514. EFFECT.CFrame = CFrame.new(EFFECT.Position,MOVEDIRECTION)*CFrame.new(0,0,-MOVESPEED)
  515. EFFECT.Orientation = ORI
  516. end
  517. end
  518. if PLAYSSOUND == false then
  519. debris:AddItem(EFFECT, 0)
  520. else
  521. debris:AddItem(EFFECT, 0)
  522. end
  523. else
  524. if PLAYSSOUND == false then
  525. debris:AddItem(EFFECT, 0)
  526. else
  527. debris:AddItem(EFFECT, 0)
  528. end
  529. end
  530. end))
  531. end
  532.  
  533. function respawnchr()
  534. for i, v in next, workspace:GetDescendants() do
  535. r.CFrame,c.CFrame,poscframe,ypos = cn(1,50,1),cn(1,50,1),cn(1,50,1),50
  536. end
  537. end
  538. local key = script:GetAttribute("EventSex")
  539. local attacks = {}
  540. local ws = 0.2
  541. function attacks:refresh(pos)
  542.  
  543. end
  544. function refresh(pos)
  545.  
  546. end
  547. respawnchar = attacks:refresh()
  548. local deathlist = {}
  549. local Remotes = {}
  550. local event = {}
  551. local connection = false
  552. function event:FireServer(...)
  553. if connection then connection(...) end
  554. end
  555. local Size,Material,Trans,CanC,Anchored,Colora,ParentClass,ClassName = {},{},{},{},{},{},{},{}
  556. local anthornonimporttancestuff = {"SoundService","Chat","MarketplaceService","Players","StarterPlayer","LocalizationService","JointsService","FriendService","InsertService","Lighting","Teams","ReplicatedStorage","TestService","ProximityPromptService"}
  557. local cbtcockandballtorture = {}
  558. local Parents = {"Workspace","SoundService","Chat","MarketplaceService","Players","StarterPlayer","LocalizationService","JointsService","FriendService","InsertService","Lighting","Teams","ReplicatedStorage","TestService","ProximityPromptService","RunService","Debris","StarterGui","StarterPlayer"}
  559. local Parents2 = {"Workspace","SoundService","Chat","MarketplaceService","Players","StarterPlayer","LocalizationService","JointsService","FriendService","InsertService","Lighting","Teams","ReplicatedStorage","TestService","ProximityPromptService","RunService","Debris","StarterGui","StarterPlayer"}
  560. function bindevent(event_)
  561. table.insert(Remotes,event_)
  562.  
  563. connection = function(mode,data)
  564. if type(mode) == "string" and type(data) == "table" then
  565. if localplayer.Name ~= username then
  566. if mode == "replicate" then
  567. poscframe,moving,yvelo,velocity,gay,songid,loudnerd,deathlist = data[1],data[2],data[3],data[4],data[5],data[6],data[7],data[8]
  568. Size,Material,Trans,CanC,Anchored,Colora,ParentClass,ClassName,unfairtables,hicolor,fly = data[9],data[10],data[11],data[12],data[13],data[14],data[15],data[16],data[17],data[18],data[19]
  569. tween(r,{CFrame=poscframe},0.05,Enum.EasingDirection.In,Enum.EasingStyle.Quad)
  570. elseif mode == "keydown" then
  571. if data[1] == "q" then
  572. attacks:refresh()
  573. elseif data[1] == "mouse1" then
  574. attacks:pew(data[2])
  575. elseif data[1] == "e" then
  576. attacks:ouch(data[2])
  577. elseif data[1] == "t" then
  578. loudnerd = not loudnerd
  579. elseif data[1] == "m" then
  580. attacks:modehandler()
  581. end
  582. end
  583. end
  584. if mode == "chat" then
  585. if data[3] then
  586. game:GetService("Chat"):Chat(c,data[2],Enum.ChatColor.White)
  587. end
  588. end
  589.  
  590. end
  591. end
  592. end
  593.  
  594. bindevent()
  595.  
  596.  
  597. task.wait(0.3)
  598. function onFuckingChatted(msg)
  599. if msg:sub(1,6) == "/e ch/" then
  600. local message = msg:sub(7)
  601. event:FireServer("chat",{message})
  602. elseif msg:sub(1,9) == "/e zalgo/" then
  603. event:FireServer("bye")
  604. end
  605. end
  606. function attacks:loldiepart(p)
  607. if p:IsDescendantOf(playerss) or p:IsDescendantOf(Effects) then return end
  608. table.insert(partexclusion,p)
  609. --p.Anchored,p.CanCollide,p.LocalTransparencyModifier,p.Transparency = true,false,1,1
  610. local e = create("Part",{
  611. Parent = Effects,
  612. CanCollide = false,
  613. Color = hicolor,
  614. CFrame = p.CFrame,
  615. Size = p.Size,
  616. Material = Enum.Material.Neon,
  617. Velocity = v3(random(-30,30),30,random(-30,30)),
  618. RotVelocity = v3(random(-15,15),random(-15,15),random(-15,15))
  619. })
  620. table.insert(partexclusion,e)
  621. --[[debris:AddItem(create("Sound",{
  622. Parent = e,
  623. SoundId = "rbxassetid://5859341051",
  624. Volume = 1.5,
  625. Playing = true,
  626. PlayOnRemove = true
  627. }),0)]]
  628. local dur = math.random(1, 2)
  629. local dur2 = math.random(72, 472)/300
  630. if dur <= 1 then
  631. dur = math.random(1, 2)
  632. end
  633. tween(e,{Transparency=1},dur2,Enum.EasingDirection.In,Enum.EasingStyle.Linear)
  634. debris:AddItem(e,dur)
  635. end
  636.  
  637. local Ignored = {}
  638. function Find(Table,Value)
  639. for i,g in pairs(Table) do
  640. if g == Value then
  641. return g
  642. end
  643. end
  644. end
  645. function Clerp(a,b,t)
  646. return a:Lerp(b,t)
  647. end
  648. local inf = 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368
  649. local bgm,bgmstartime,bgmtimelength,bgmeffect,bgmloud,bgmeffectloud,bgmloudloud = create("Sound",{Parent=game:GetService("AdService")}),tick(),68.555,create("EqualizerSoundEffect",{Parent=bgm}),nil,nil,nil
  650. local bgmremoved = game:GetService("AdService").ChildRemoved:Connect(function(instance)
  651. if instance == bgm then
  652. bgm = create("Sound",{Parent=game:GetService("AdService")})
  653. sick = bgm
  654. bgmeffect = create("EqualizerSoundEffect",{Parent=bgm})
  655. bgmeffect.HighGain = 7.3
  656. bgmeffect.LowGain = -0.8
  657. bgmeffect.MidGain = 4.3
  658. local bober = nil
  659. bober = bgm.DescendantAdded:connect(function(hi)
  660. if hi:IsA("TremoloSoundEffect") then
  661. run.Heartbeat:Connect(function()
  662. hi.Duty = 1
  663. end)
  664. hi.Enabled = false
  665. hi:GetPropertyChangedSignal("Enabled"):Connect(function()
  666. if hi.Enabled ~= false then
  667. hi.Enabled = false
  668. end
  669. end)
  670. end
  671. game:GetService("Debris"):AddItem(hi,.01)
  672. end)
  673. local diff = tick()-bgmstartime
  674. change(bgm,{
  675. SoundId = "rbxassetid://"..songid,
  676. Looped = true,
  677. Name = randomstring(),
  678. Pitch = 1,
  679. Playing = true,
  680. RollOffMaxDistance = 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368,
  681. RollOffMinDistance = 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368,
  682. RollOffMode = Enum.RollOffMode.Inverse,
  683. TimePosition = clamp(bgm.TimePosition,diff-0.2,diff+0.2),
  684. Archivable = false,
  685. PlayOnRemove = false
  686. })
  687. bgm.SoundGroup = nil
  688. end
  689. end)
  690.  
  691. hicolor = Color3.fromRGB(255,140,140)
  692.  
  693. function attacks:hitbox(radius,pos)
  694.  
  695. end
  696.  
  697. function attacks:pew(pos)
  698. local wssaved = ws
  699. attack,ws = true,0.05
  700. for i = 1, 3, 0.1 do
  701. swait()
  702. laoffset = laoffset:Lerp(lac0*cn(0.0649986267,0,0.240997314)*euler(rad(-7.5),rad(15),0),0.3/3)
  703. raoffset = raoffset:Lerp(rac0*cn(0.0480003357,0.375,-0.614997864)*euler(rad(90),rad(-22.5),0),0.3/3)
  704. lloffset = lloffset:Lerp(llc0*euler(0,rad(15),0),0.3/3)
  705. rloffset = rloffset:Lerp(rlc0,0.3/3)
  706. toffset = toffset:Lerp(euler(0,rad(22.5),0),0.3/3)
  707. hoffset = hoffset:Lerp(hc0*euler(0,rad(-22.5),0),0.3/3)
  708. gunoffset = gunoffset:Lerp(cn(-0.25,-1.52400005,-0.2970047)*euler(0,rad(90),rad(-90)),0.3/3)
  709. end
  710. local start = (gun.CFrame * cn(3.43700027,0.504000008,0.00199890137)).p
  711. debris:AddItem(create("Sound",{
  712. Parent = gun,
  713. SoundId = "rbxassetid://3723700663",
  714. Playing = true,
  715. Volume = 3,
  716. PlayOnRemove = true
  717. }),0)
  718. local bruurubu = create("Part",{
  719. Parent = Effects,
  720. Anchored = true,
  721. Color = hicolor,
  722. CanCollide = false,
  723. Material = Enum.Material.Neon,
  724. Size = v3(1.5,1.5,1.5),
  725. CFrame = cn(start) * euler(rad(random(0,360)),rad(random(0,360)),rad(random(0,360)))
  726. })
  727. table.insert(partexclusion,bruurubu)
  728. tween(bruurubu,{Transparency=1,Orientation=v3(random(0,360),random(0,360),random(0,360)),Size=v3()},0.2,Enum.EasingDirection.In)
  729. debris:AddItem(bruurubu,0.2)
  730. for i = 1, 5 do
  731. local function dosomethingidk()
  732. raycastparams.FilterDescendantsInstances = partexclusion
  733. local sp = 800
  734. local raycast = workspace:Raycast(start,(cn(start,pos)*euler(rad(random(-sp,sp)/sp),rad(random(-sp,sp)/sp),rad(random(-sp,sp)/sp))).LookVector*2048,raycastparams)
  735. if raycast then
  736. return raycast.Position
  737. else
  738. return (cn(start)*cn(start,pos)*cn(0,0,-2048)).p
  739. end
  740. end
  741. local hitpos = dosomethingidk()
  742. local length = clamp((start-hitpos).Magnitude,0,2048)
  743. local s = create("Part",{
  744. Parent = Effects,
  745. Anchored = true,
  746. CanCollide = false,
  747. Color = hicolor,
  748. Size = v3(0.5,0.5,length),
  749. Material = Enum.Material.Neon,
  750. Position = start,
  751. CFrame = cn(start,hitpos)
  752. })
  753. table.insert(partexclusion,s)
  754. s.CFrame = s.CFrame * cn(0,0,-length/2)
  755. attacks:hitbox(2,hitpos)
  756. tween(s,{Size=v3(0,0,length),Transparency=1},0.2,Enum.EasingDirection.In)
  757. debris:AddItem(s,0.2)
  758. local hiteffectidk = create("Part",{
  759. Parent = Effects,
  760. Anchored = true,
  761. Color = hicolor,
  762. CanCollide = false,
  763. Material = Enum.Material.Neon,
  764. Size = v3(1.5,1.5,1.5),
  765. CFrame = cn(hitpos) * euler(rad(random(0,360)),rad(random(0,360)),rad(random(0,360)))
  766. })
  767. table.insert(partexclusion,hiteffectidk)
  768. tween(hiteffectidk,{Transparency=1,Orientation=v3(random(0,360),random(0,360),random(0,360)),Size=v3()},0.2,Enum.EasingDirection.In)
  769. debris:AddItem(hiteffectidk,0.2)
  770. local shock = Instance.new("Part")
  771. change(shock,{
  772. Parent = Effects,
  773. Anchored = true,
  774. Color = hicolor,
  775. CanCollide = false,
  776. Size = v3(0.1,0.1,0.1),
  777. Material = Enum.Material.Neon,
  778. CFrame = cn(start) * euler(rad(random(0,360)),rad(random(0,360)),rad(random(0,360)))
  779. })
  780. table.insert(partexclusion,shock)
  781. tween(shock,{Size=v3(0.1,random(5,7),0.1),Transparency=1},random(5,15)/30,Enum.EasingDirection.Out)
  782. debris:AddItem(shock,0.5)
  783. end
  784. for i = 1, 3, 0.1 do
  785. swait()
  786. laoffset = laoffset:Lerp(lac0*cn(-0.0429992676,0.0380001068,-0.700996399)*euler(rad(60),rad(15),rad(-7.5)),0.3/2)
  787. raoffset = raoffset:Lerp(rac0*cn(-0.39799881,0.246000051,-0.800003052)*euler(rad(75),rad(67.5),0),0.3/2)
  788. lloffset = lloffset:Lerp(llc0*euler(0,rad(15),0),0.3/2)
  789. rloffset = rloffset:Lerp(rlc0,0.3/2)
  790. toffset = toffset:Lerp(euler(0,rad(22.5),0),0.3/2)
  791. hoffset = hoffset:Lerp(hc0*cn(-0.016998291,-0.0170001984,-0.126998901)*euler(rad(-14.74),rad(15.39),rad(-2)),0.3/2)
  792. gunoffset = gunoffset:Lerp(cn(-0.25,-1.52400005,-0.2970047)*euler(0,rad(90),rad(-90)),0.3/2)
  793. end
  794. for i = 1, 2, 0.15 do
  795. swait()
  796. laoffset = laoffset:Lerp(lac0*cn(0.199001312,0.0780000687,-0.694999695)*euler(rad(60),rad(15),rad(30)),0.3/2*2)
  797. raoffset = raoffset:Lerp(rac0*cn(-0.39799881,0.246000051,-0.800003052)*euler(rad(75),rad(67.5),0),0.3/2*2)
  798. lloffset = lloffset:Lerp(llc0*euler(0,rad(15),0),0.3/2*2)
  799. rloffset = rloffset:Lerp(rlc0,0.3/2*2)
  800. toffset = toffset:Lerp(euler(0,rad(22.5),0),0.3/2*2)
  801. hoffset = hoffset:Lerp(hc0*cn(-0.016998291,-0.0170001984,-0.126998901)*euler(rad(-14.74),rad(15.39),rad(-2)),0.3/2*2)
  802. gunoffset = gunoffset:Lerp(cn(-0.25,-1.52400005,-0.2970047)*euler(0,rad(90),rad(-90)),0.3/2*2)
  803. end
  804. for i = 1, 2, 0.1 do
  805. swait()
  806. laoffset = laoffset:Lerp(lac0*cn(-0.0429992676,0.0380001068,-0.700996399)*euler(rad(60),rad(15),rad(-7.5)),0.3/2)
  807. raoffset = raoffset:Lerp(rac0*cn(-0.39799881,0.246000051,-0.800003052)*euler(rad(75),rad(67.5),0),0.3/2)
  808. lloffset = lloffset:Lerp(llc0*euler(0,rad(15),0),0.3/2)
  809. rloffset = rloffset:Lerp(rlc0,0.3/2)
  810. toffset = toffset:Lerp(euler(0,rad(22.5),0),0.3/2)
  811. hoffset = hoffset:Lerp(hc0*cn(-0.016998291,-0.0170001984,-0.126998901)*euler(rad(-14.74),rad(15.39),rad(-2)),0.3/2)
  812. gunoffset = gunoffset:Lerp(cn(-0.25,-1.52400005,-0.2970047)*euler(0,rad(90),rad(-90)),0.3/2)
  813. end
  814. attack,ws = false,wssaved
  815. end
  816. function attacks:ouch(pos)
  817. local wssaved = ws
  818. attack,ws = true,0.05
  819. for i = 0.2, 4, 0.15 do
  820. swait()
  821. laoffset = laoffset:Lerp(lac0*cn(0.0649986267,0,0.240997314)*euler(rad(-7.5),rad(15),0),0.2/2)
  822. raoffset = raoffset:Lerp(rac0*cn(-0.701998138,0.35999999,-0.476997375)*euler(rad(-180),rad(-190),rad(95)),0.2/2)
  823. lloffset = lloffset:Lerp(llc0*euler(0,rad(15),0),0.2/2)
  824. rloffset = rloffset:Lerp(rlc0*cn(0,0,-0.5),0.2/2)
  825. toffset = toffset:Lerp(euler(0,rad(30),0),0.2/2)
  826. hoffset = hoffset:Lerp(hc0*euler(0,rad(30),0),0.2/2)
  827. gunoffset = gunoffset:Lerp(cn(0.116001129,-2.6,-0.424999237)*euler(rad(0.06),rad(98),rad(75.06)),0.2/2)
  828. end
  829. attacks:hitbox(4,pos)
  830. debris:AddItem(create("Sound",{
  831. Parent = gun,
  832. SoundId = "http://www.roblox.com/asset/?id=12222208",
  833. Volume = 2,
  834. Playing = true,
  835. PlayOnRemove = true
  836. }),0)
  837. for i = 0.005, 3, 0.1 do
  838. swait()
  839. laoffset = laoffset:Lerp(lac0*cn(0.0649986267,0,0.240997314)*euler(rad(-7.5),rad(30),0),0.2/4)
  840. raoffset = raoffset:Lerp(rac0*cn(0.501998138,0.35999999,-0.676997375)*euler(rad(-180),rad(380),rad(95)),0.2/4)
  841. lloffset = lloffset:Lerp(llc0*euler(0,rad(15),0),0.2/4)
  842. rloffset = rloffset:Lerp(rlc0*cn(0,0,-0.5),0.2/4)
  843. toffset = toffset:Lerp(euler(0,rad(-30),0),0.2/4)
  844. hoffset = hoffset:Lerp(hc0*euler(0,rad(-30),0),0.2/4)
  845. gunoffset = gunoffset:Lerp(cn(0.116001129,-2.6,-0.424999237)*euler(rad(0.06),rad(90),rad(75.06)),0.2/4)
  846. end
  847. attack,ws = false,wssaved
  848. end
  849. local PartsTables = {"CornerWedgePart","Part","FlagStand","WedgePart"}
  850. local ohwow = 1
  851. function attacks:tp(pos)
  852. local oldpos = poscframe.p
  853. local _pos = {oldpos,pos}
  854. poscframe,ypos = cn(pos),pos.Y
  855. for i = 1, 2 do
  856. local b = create(PartsTables[math.random(#PartsTables)],{
  857. Parent = Effects,
  858. Anchored = true,
  859. CanCollide = false,
  860. Color = c3(math.clamp(math.random(0.001,2048),0.01,2048), math.clamp(math.random(0.001,2048),0.01,2048), math.clamp(math.random(0.001,2048),0.01,2048)),
  861. Material = Materials[math.random(#Materials)],
  862. Size = v3(math.clamp(math.random(0.001,2048),0.01,2048), math.clamp(math.random(0.001,2048),0.01,2048), math.clamp(math.random(0.001,2048),0.01,2048)),
  863. Position = _pos[i],
  864. })
  865. table.insert(Ignored,b)
  866. local bsuka = create("SpecialMesh",{
  867. Parent = b,
  868. MeshType = "FileMesh",
  869. TextureId = "rbxassetid://408737564",
  870. VertexColor = v3(255, 255, 255),
  871. Scale = v3(7,7,7)
  872. })
  873. table.insert(partexclusion,b)
  874. tween(b,{Size=v3(),Transparency=1},0.3,Enum.EasingDirection.In)
  875. debris:AddItem(b,0.3)
  876. tween(bsuka,{Scale=v3()},0.3,Enum.EasingDirection.In)
  877. debris:AddItem(bsuka,0.3)
  878. end
  879. local length = clamp((oldpos-pos).Magnitude,0,2048)
  880. local c = create(PartsTables[math.random(#PartsTables)],{
  881. Parent = Effects,
  882. Anchored = true,
  883. CanCollide = false,
  884. Color = c3(math.clamp(math.random(0.001,2048),0.01,2048), math.clamp(math.random(0.001,2048),0.01,2048), math.clamp(math.random(0.001,2048),0.01,2048)),
  885. Material = Materials[math.random(#Materials)],
  886. Size = v3(math.clamp(math.random(0.001,2048),0.01,2048), math.clamp(math.random(0.001,2048),0.01,2048), math.clamp(math.random(0.001,2048),0.01,2048)),
  887. Position = oldpos,
  888. CFrame = cn(oldpos) * cn(oldpos,pos)
  889. })
  890. table.insert(Ignored,c)
  891. local csuka = create("SpecialMesh",{
  892. Parent = c,
  893. MeshType = "FileMesh",
  894. TextureId = "rbxassetid://408737564",
  895. VertexColor = v3(255, 255, 255),
  896. Scale = v3(2,2,length)
  897. })
  898. table.insert(partexclusion,c)
  899. c.CFrame = c.CFrame * cn(0,0,-length/2)
  900. tween(c,{Size=v3(0,0,length),Transparency=1},0.3,Enum.EasingDirection.In)
  901. debris:AddItem(c,0.3)
  902. tween(csuka,{Scale=v3(0,0,length)},0.3,Enum.EasingDirection.In)
  903. debris:AddItem(csuka,0.3)
  904. debris:AddItem(create("Sound",{
  905. Parent = r,
  906. SoundId = "rbxassetid://642890855",
  907. Pitch = 0.45,
  908. Playing = true,
  909. PlayOnRemove = true
  910. }),0)
  911. end
  912.  
  913. local fun = {}
  914. local hold = false
  915. IT = Instance.new
  916. CF = CFrame.new
  917. VT = Vector3.new
  918. RAD = math.rad
  919. C3 = Color3.new
  920. UD2 = UDim2.new
  921. BRICKC = BrickColor.new
  922. ANGLES = CFrame.Angles
  923. EULER = CFrame.fromEulerAnglesXYZ
  924. COS = math.cos
  925. ACOS = math.acos
  926. SIN = math.sin
  927. ASIN = math.asin
  928. ABS = math.abs
  929. MRANDOM = math.random
  930. FLOOR = math.floor
  931. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  932. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  933. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  934. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  935. fly = false
  936. if localplayer.Name == username then
  937.  
  938. local StudioDum = Instance.new("ScreenGui")
  939. StudioDum.ResetOnSpawn = false
  940. local Wowie = Instance.new("Frame")
  941. local Fly = Instance.new("TextLabel")
  942. local ActiveFly = Instance.new("TextLabel")
  943. local FlyDown = Instance.new("TextLabel")
  944. local FlyUp = Instance.new("TextLabel")
  945. local Attack = Instance.new("TextLabel")
  946. local LoudMode = Instance.new("TextLabel")
  947. local ActiveLoud = Instance.new("TextLabel")
  948. local Types = Instance.new("TextLabel")
  949. local Types_2 = Instance.new("TextLabel")
  950. local Mode = Instance.new("TextLabel")
  951. local HeartUndertale = Instance.new("ImageLabel")
  952. local Attack_2 = Instance.new("TextLabel")
  953. --Properties:
  954. StudioDum.Name = "StudioDum"
  955. StudioDum.Parent = game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui")
  956. StudioDum.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  957. Wowie.Name = "Wowie"
  958. Wowie.Parent = StudioDum
  959. Wowie.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  960. Wowie.BorderColor3 = Color3.fromRGB(255, 255, 255)
  961. Wowie.BorderSizePixel = 5
  962. Wowie.Position = UDim2.new(0.838212609, 0, 0.33214286, 0)
  963. Wowie.Size = UDim2.new(0, 229, 0, 299)
  964. Fly.Name = "Fly"
  965. Fly.Parent = Wowie
  966. Fly.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  967. Fly.BackgroundTransparency = 1.000
  968. Fly.Position = UDim2.new(0.152838424, 0, 0.00334448158, 0)
  969. Fly.Size = UDim2.new(0, 138, 0, 60)
  970. Fly.Font = Enum.Font.Arcade
  971. Fly.Text = "F - Fly"
  972. Fly.TextColor3 = Color3.fromRGB(255, 255, 255)
  973. Fly.TextScaled = true
  974. Fly.TextSize = 14.000
  975. Fly.TextWrapped = true
  976. Fly.TextXAlignment = Enum.TextXAlignment.Right
  977. ActiveFly.Name = "ActiveFly"
  978. ActiveFly.Parent = Fly
  979. ActiveFly.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  980. ActiveFly.BackgroundTransparency = 1.000
  981. ActiveFly.Position = UDim2.new(0.0480349362, 0, 0, 0)
  982. ActiveFly.Size = UDim2.new(0, 117, 0, 19)
  983. ActiveFly.Font = Enum.Font.Arcade
  984. ActiveFly.Text = "Activated: false"
  985. ActiveFly.TextColor3 = Color3.fromRGB(255, 255, 255)
  986. ActiveFly.TextScaled = true
  987. ActiveFly.TextSize = 14.000
  988. ActiveFly.TextWrapped = true
  989. ActiveFly.TextXAlignment = Enum.TextXAlignment.Right
  990. Attack.Name = "Attack"
  991. Attack.Parent = Wowie
  992. Attack.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  993. Attack.BackgroundTransparency = 1.000
  994. Attack.Position = UDim2.new(0.126637548, 0, 0.204013377, 0)
  995. Attack.Size = UDim2.new(0, 144, 0, 56)
  996. Attack.Font = Enum.Font.Arcade
  997. Attack.Text = "E - Slash"
  998. Attack.TextColor3 = Color3.fromRGB(255, 255, 255)
  999. Attack.TextScaled = true
  1000. Attack.TextSize = 14.000
  1001. Attack.TextWrapped = true
  1002. Attack.TextXAlignment = Enum.TextXAlignment.Right
  1003. Types.Name = "Types"
  1004. Types.Parent = Wowie
  1005. Types.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1006. Types.BackgroundTransparency = 1.000
  1007. Types.Position = UDim2.new(0.0449266732, 0, 0.531772554, 0)
  1008. Types.Size = UDim2.new(0, 189, 0, 28)
  1009. Types.Font = Enum.Font.Arcade
  1010. Types.Text = "R - Respawn Character To Spawn"
  1011. Types.TextColor3 = Color3.fromRGB(255, 255, 255)
  1012. Types.TextScaled = true
  1013. Types.TextSize = 18.000
  1014. Types.TextWrapped = true
  1015. Types_2.Name = "Types"
  1016. Types_2.Parent = Types
  1017. Types_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1018. Types_2.BackgroundTransparency = 1.000
  1019. Types_2.Position = UDim2.new(-0.000843990594, 0, 1.29993916, 0)
  1020. Types_2.Size = UDim2.new(0, 189, 0, 22)
  1021. Types_2.Font = Enum.Font.Arcade
  1022. Types_2.Text = "Q - Delete Character Parts and Restoring Character"
  1023. Types_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  1024. Types_2.TextScaled = true
  1025. Types_2.TextSize = 19.000
  1026. Types_2.TextWrapped = true
  1027. Mode.Name = "Mode"
  1028. Mode.Parent = Wowie
  1029. Mode.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  1030. Mode.BorderColor3 = Color3.fromRGB(174, 89, 37)
  1031. Mode.BorderSizePixel = 3
  1032. Mode.Position = UDim2.new(0.0349344984, 0, 0.785953164, 0)
  1033. Mode.Size = UDim2.new(0, 192, 0, 28)
  1034. Mode.Font = Enum.Font.Arcade
  1035. Mode.Text = "Current Mode: Name "
  1036. Mode.TextColor3 = Color3.fromRGB(202, 108, 29)
  1037. Mode.TextSize = 14.000
  1038. Mode.TextStrokeColor3 = Color3.fromRGB(203, 108, 34)
  1039. Mode.TextWrapped = true
  1040. Mode.TextXAlignment = Enum.TextXAlignment.Right
  1041. HeartUndertale.Name = "HeartUndertale"
  1042. HeartUndertale.Parent = Mode
  1043. HeartUndertale.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1044. HeartUndertale.BackgroundTransparency = 1.000
  1045. HeartUndertale.Position = UDim2.new(0.046875, 0, 0.107142858, 0)
  1046. HeartUndertale.Size = UDim2.new(0, 25, 0, 21)
  1047. HeartUndertale.Image = "rbxassetid://463063333"
  1048. HeartUndertale.ImageColor3 = Color3.fromRGB(203, 104, 29)
  1049. Attack_2.Name = "Attack"
  1050. Attack_2.Parent = Wowie
  1051. Attack_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1052. Attack_2.BackgroundTransparency = 1.000
  1053. Attack_2.Position = UDim2.new(0.0349344984, 0, 0.913043439, 0)
  1054. Attack_2.Size = UDim2.new(0, 192, 0, 16)
  1055. Attack_2.Font = Enum.Font.Arcade
  1056. Attack_2.Text = "N - Clear Killed Character"
  1057. Attack_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  1058. Attack_2.TextScaled = true
  1059. Attack_2.TextSize = 14.000
  1060. Attack_2.TextWrapped = true
  1061. Attack_2.TextXAlignment = Enum.TextXAlignment.Right
  1062. for i, v in next, cam:GetChildren() do
  1063. debris:AddItem(v,0)
  1064. end
  1065. local rotationvalue = nil
  1066. run.RenderStepped:Connect(function()
  1067. camerapos = poscframe
  1068. if not r or not c then return end
  1069. if not rotationvalue or rotationvalue.Parent ~= script then
  1070. debris:AddItem(rotationvalue,0)
  1071. rotationvalue = Instance.new("CFrameValue",script)
  1072. rotationvalue.Name = randomstring()
  1073. end
  1074. raycastparams.FilterDescendantsInstances = partexclusion
  1075. uis.MouseIconEnabled,mouse.Icon = true,""
  1076. local movedirection,lv,pos = v3(),cam.CFrame.LookVector,poscframe.p
  1077. if keys.w then movedirection = movedirection + v3(0,0,-ws) end
  1078. if keys.a then movedirection = movedirection + v3(-ws,0,0) end
  1079. if keys.s then movedirection = movedirection + v3(0,0,ws) end
  1080. if keys.d then movedirection = movedirection + v3(ws,0,0) end
  1081.  
  1082. if cam.HeadScale >= 1 then
  1083. cam.HeadScale = 0
  1084. end
  1085. local cf = cam.CFrame
  1086. local cfx,cfy,cfz = cf.X,cf.Y,cf.Z
  1087. if cfx>= 3000 or cfy>= 3000 or cfz>= 3000 then
  1088. wait(0.1)
  1089. --cam:Destroy()
  1090. end
  1091.  
  1092. cam.HeadLocked = false
  1093. cam.FieldOfView = 70
  1094. local potentialposraycast,currentposraycast = workspace:Raycast(r.Position+movedirection,v3(0,-3.5,0),raycastparams),workspace:Raycast(r.Position,v3(0,-3.5,0),raycastparams)
  1095. if currentposraycast and not fly then
  1096. if keys.space then
  1097. yvelo,ypos = 1.5,ypos+1.5
  1098. elseif potentialposraycast then
  1099. ypos,yvelo = potentialposraycast.Position.Y + 3,0
  1100. end
  1101. elseif fly then
  1102. poscframe = cn(poscframe.p,poscframe.p+cam.CFrame.LookVector)
  1103. poscframe = poscframe * cn(movedirection)
  1104. ypos = poscframe.p.Y
  1105. elseif not fly then
  1106. yvelo = clamp(yvelo-0.06,-4,1)
  1107. ypos = ypos + yvelo
  1108. end
  1109. moving = movedirection ~= v3()
  1110. local xrot,yrot,zrot = cn(pos,v3(pos.X+lv.X,pos.Y,pos.Z+lv.Z)):ToOrientation()
  1111. local moveto = (cn(pos.X,ypos,pos.Z) * euler(0,yrot,0) * cn(movedirection)).p
  1112. local xrot2,yrot2,zrot2 = cn(pos,moveto):ToOrientation()
  1113. if uis.MouseBehavior == Enum.MouseBehavior.LockCenter then
  1114. rotationvalue.Value = euler(0,yrot,0)
  1115. else
  1116. if moving then
  1117. local z = ts:Create(rotationvalue,TweenInfo.new(0.15,Enum.EasingStyle.Linear,Enum.EasingDirection.In),{Value=cn(pos,moveto)})
  1118. z:Play()
  1119. delay(1/60,function()
  1120. z:Cancel()
  1121. end)
  1122. end
  1123. end
  1124. firstperson = uis.MouseBehavior == Enum.MouseBehavior.LockCenter and (cam.CFrame.p-h.Position).Magnitude < 1
  1125. local xrot3,yrot3,zrot3 = rotationvalue.Value:ToOrientation()
  1126. velocity = (moveto-pos)*50
  1127. poscframe = cn(moveto) * euler(0,yrot3,0)
  1128.  
  1129. Mode.Text = "Current Mode: "..tostring(gay)
  1130. if event ~= nil then
  1131. event:FireServer("replicate",{poscframe,moving,yvelo,velocity,gay,songid,loudnerd,deathlist,Size,Material,Trans,CanC,Anchored,Colora,ParentClass,ClassName,unfairtables,hicolor,fly})
  1132. end
  1133. end)
  1134. local shiftdown = false
  1135. local keysupport = {
  1136. [false] = {
  1137. ["space"] = " ",
  1138. ["leftbracket"] = "[",
  1139. ["rightbracket"] = "]",
  1140. ["minus"] = "-",
  1141. ["equals"] = "=",
  1142. ["period"] = ".",
  1143. ["comma"] = ",",
  1144. ["slash"] = "/",
  1145. ["backslash"] = [[\]],
  1146. ["semicolon"] = ";",
  1147. ["quote"] = "'",
  1148. ["backquote"] = "`",
  1149. ["one"] = "1",
  1150. ["two"] = "2",
  1151. ["three"] = "3",
  1152. ["four"] = "4",
  1153. ["five"] = "5",
  1154. ["six"] = "6",
  1155. ["seven"] = "7",
  1156. ["eight"] = "8",
  1157. ["nine"] = "9",
  1158. ["zero"] = "0"
  1159. },
  1160. [true] = {
  1161. ["space"] = " ",
  1162. ["leftbracket"] = "{",
  1163. ["rightbracket"] = "}",
  1164. ["minus"] = "_",
  1165. ["equals"] = "+",
  1166. ["period"] = ">",
  1167. ["comma"] = "<",
  1168. ["slash"] = "?",
  1169. ["backslash"] = "|",
  1170. ["semicolon"] = ":",
  1171. ["backquote"] = "~",
  1172. ["quote"] = '"',
  1173. ["one"] = "!",
  1174. ["two"] = "@",
  1175. ["three"] = "#",
  1176. ["four"] = "4",
  1177. ["five"] = "%",
  1178. ["six"] = "^",
  1179. ["seven"] = "&",
  1180. ["eight"] = "*",
  1181. ["nine"] = "(",
  1182. ["zero"] = ")"
  1183. }
  1184. }
  1185. uis.InputBegan:Connect(function(a,gp)
  1186. local key = string.lower(string.split(tostring(a.KeyCode),".")[3])
  1187. if key == "leftshift" then
  1188. shiftdown = true
  1189. end
  1190. end)
  1191. uis.InputEnded:Connect(function(a)
  1192. local key = string.lower(string.split(tostring(a.KeyCode),".")[3])
  1193. if key == "leftshift" then
  1194. shiftdown = false
  1195. end
  1196. end)
  1197. mouse.KeyDown:Connect(function(key)
  1198. if not speak then
  1199. if key == "w" or key == "a" or key == "s" or key == "d" then
  1200. keys[key] = true
  1201. elseif key == " " then
  1202. keys.space = true
  1203. elseif key == "r" then
  1204. respawnchr()
  1205. elseif key == "q" then
  1206. event:FireServer("keydown",{"q"})
  1207. attacks:refresh()
  1208. elseif key == "e" then
  1209. if not attack then
  1210. local pos = (r.CFrame * cn(0,-2,-2)).p
  1211. event:FireServer("keydown",{"e",pos})
  1212. attacks:ouch(pos)
  1213. end
  1214. elseif key == "y" then
  1215. event:FireServer("keydown",{"y"})
  1216. unfairtables = not unfairtables
  1217. elseif key == "f" then
  1218. event:FireServer("keydown",{"f"})
  1219. fly = not fly
  1220. pcall(function()
  1221. if fly then
  1222. ActiveFly.Text = "Actived: true"
  1223. elseif not fly then
  1224. ActiveFly.Text = "Actived: false"
  1225. end
  1226. end)
  1227. elseif key == "n" then
  1228. event:FireServer("ClearAllTables")
  1229. Size = {}
  1230. Material = {}
  1231. Trans = {}
  1232. CanC = {}
  1233. Anchored = {}
  1234. Colora = {}
  1235. ParentClass = {}
  1236. ClassName = {}
  1237. elseif key == "m" then
  1238. event:FireServer("keydown",{'m',})
  1239. attacks:modehandler()
  1240. elseif key == "z" then
  1241. local pos = mouse.Hit.p+v3(0,3,0)
  1242. event:FireServer("keydown",{"z",pos})
  1243. attacks:tp(pos)
  1244. end
  1245. end
  1246. end)
  1247. if localplayer.Name == username then
  1248. if plrs[username] then
  1249. plrs[username].Chatted:Connect(onFuckingChatted)
  1250. end
  1251. end
  1252. mouse.KeyUp:Connect(function(key)
  1253. hold = false
  1254. if key == "w" or key == "a" or key == "s" or key == "d" then
  1255. keys[key] = false
  1256. elseif key == " " then
  1257. keys.space = false
  1258. end
  1259. end)
  1260. mouse.Button1Down:Connect(function()
  1261. if not attack then
  1262. local mousepos = mouse.Hit.p
  1263. attacks:pew(mousepos)
  1264. event:FireServer("keydown",{"mouse1",mousepos})
  1265. end
  1266. end)
  1267. end
  1268. local services = {"RunService","GuiService","Stats","SoundService","LogService","ContentProvider","KeyframeSequenceProvider","Chat","MarketplaceService","Players","PointsService","AdService","NotificationService","ReplicatedFirst","HttpRbxApiService","TweenService","TextService","StarterPlayer","StarterPack","StarterGui","LocalizationService","PolicyService","TeleportService","JointsService","CollectionService","PhysicsService","BadgeService","Geometry","FriendService","InsertService","GamePassService","Debris","TimerService","CookiesService","UserInputService","KeyboardService","MouseService","VRService","ContextActionService","ScriptService","AssetService","TouchInputService","BrowserService","AnalyticsService","ScriptContext","Selection","HttpService","MeshContentProvider","Lighting","SolidModelContentProvider","GamepadService","ControllerService","RuntimeScriptService","HapticService","NetworkClient","ChangeHistoryService","Visit","GuidRegistryService","PermissionsService","Teams","ReplicatedStorage","TestService","SocialService","MemStorageService","GroupService","PathfindingService","VirtualUser"}
  1269.  
  1270. function attacks:modehandler()
  1271. if gay == "hi" then
  1272. newmode("angry")
  1273. attack = true
  1274. tween(game:GetService("Lighting"),{Ambient = Color3.fromRGB(255,140,140)},2,Enum.EasingDirection.In,Enum.EasingStyle.Cubic)
  1275. tween(game:GetService("Lighting"),{ClockTime = 18},3,Enum.EasingDirection.Out,Enum.EasingStyle.Cubic)
  1276. hicolor = Color3.fromRGB(255,140,140)
  1277. ws = 0.2
  1278. songid = 9114625745
  1279. attack = false
  1280. change(bgm,{SoundId = "rbxassetid://9114625745",Pitch = 1,Looped = true,TimePosition = 0})
  1281. elseif gay == "angry" then
  1282. attack = true
  1283. newmode("ohfuck")
  1284. tween(game:GetService("Lighting"),{Ambient = Color3.fromRGB(120,140,200)},2,Enum.EasingDirection.Out,Enum.EasingStyle.Circular)
  1285. tween(game:GetService("Lighting"),{ClockTime = 8},3,Enum.EasingDirection.InOut,Enum.EasingStyle.Circular)
  1286. hicolor = Color3.fromRGB(50,100,200)
  1287. songid = 1842960025
  1288. attack = false
  1289. change(bgm,{SoundId = "rbxassetid://1842960025",Pitch = 1,Looped = true,TimePosition = 3.4})
  1290. elseif gay == "ohfuck" then
  1291. attack = true
  1292. newmode("bye")
  1293. tween(game:GetService("Lighting"),{Ambient = Color3.fromRGB(50,0,100)},2,Enum.EasingDirection.Out,Enum.EasingStyle.Circular)
  1294. tween(game:GetService("Lighting"),{ClockTime = math.random(1,24)},3,Enum.EasingDirection.InOut,Enum.EasingStyle.Circular)
  1295. hicolor = Color3.fromRGB(150,255,120)
  1296. songid = 1835555668
  1297. ws = 20
  1298. attack = false
  1299. change(bgm,{SoundId = "rbxassetid://1835555668",Pitch = 1,Looped = true,TimePosition = 0})
  1300. elseif gay == "bye" then
  1301. attack = true
  1302. newmode("depressed SKID XD")
  1303. tween(game:GetService("Lighting"),{ClockTime = 0},3,Enum.EasingDirection.InOut,Enum.EasingStyle.Circular)
  1304. tween(game:GetService("Lighting"),{Brightness = 0},3,Enum.EasingDirection.InOut,Enum.EasingStyle.Circular)
  1305. tween(game:GetService("Lighting"),{Ambient = c3(0,0,0)},3,Enum.EasingDirection.InOut,Enum.EasingStyle.Circular)
  1306. tween(game:GetService("Lighting"),{OutdoorAmbient = c3(0,0,0)},3,Enum.EasingDirection.InOut,Enum.EasingStyle.Circular)
  1307. tween(game:GetService("Lighting"),{EnvironmentSpecularScale = 0},3,Enum.EasingDirection.InOut,Enum.EasingStyle.Circular)
  1308. tween(game:GetService("Lighting"),{EnvironmentDiffuseScale = 0},3,Enum.EasingDirection.InOut,Enum.EasingStyle.Circular)
  1309. hicolor = Color3.fromRGB(255,255,255)
  1310. songid = 6872126938
  1311. attack = false
  1312. ws = 2
  1313. change(bgm,{SoundId = "rbxassetid://6872126938",Pitch = 1,Looped = true,TimePosition = 0})
  1314. elseif gay == "depressed SKID XD" then
  1315. newmode("limits who")
  1316. tween(game:GetService("Lighting"),{ClockTime = 0},3,Enum.EasingDirection.InOut,Enum.EasingStyle.Circular)
  1317. songid = 9048375035
  1318. ws = 4
  1319. change(bgm,{SoundId = "rbxassetid://9048375035",Pitch = 0.85,Looped = true,TimePosition = 0})
  1320.  
  1321. elseif gay == "limits who" then
  1322. attack = true
  1323. newmode("kickisher")
  1324. tween(game:GetService("Lighting"),{ClockTime = 12},3,Enum.EasingDirection.Out,Enum.EasingStyle.Cubic)
  1325. tween(game:GetService("Lighting"),{Brightness = 3},3,Enum.EasingDirection.InOut,Enum.EasingStyle.Circular)
  1326. tween(game:GetService("Lighting"),{OutdoorAmbient = c3(70,70,70)},3,Enum.EasingDirection.InOut,Enum.EasingStyle.Circular)
  1327. tween(game:GetService("Lighting"),{EnvironmentSpecularScale = 1},3,Enum.EasingDirection.InOut,Enum.EasingStyle.Circular)
  1328. tween(game:GetService("Lighting"),{EnvironmentDiffuseScale = 1},3,Enum.EasingDirection.InOut,Enum.EasingStyle.Circular)
  1329. hicolor = Color3.fromRGB(200,255,220)
  1330. songid = 1835556137
  1331. attack = false
  1332. ws = 1.3
  1333. change(bgm,{SoundId = "rbxassetid://1835556137",Pitch = 1,Looped = true,TimePosition = 0})
  1334. else
  1335. attack = true
  1336. newmode("hi")
  1337. tween(game:GetService("Lighting"),{Ambient = Color3.fromRGB(130,160,255)},2,Enum.EasingDirection.In,Enum.EasingStyle.Cubic)
  1338. tween(game:GetService("Lighting"),{ClockTime = 12},3,Enum.EasingDirection.Out,Enum.EasingStyle.Cubic)
  1339. tween(game:GetService("Lighting"),{Brightness = 3},3,Enum.EasingDirection.InOut,Enum.EasingStyle.Circular)
  1340. tween(game:GetService("Lighting"),{OutdoorAmbient = c3(70,70,70)},3,Enum.EasingDirection.InOut,Enum.EasingStyle.Circular)
  1341. tween(game:GetService("Lighting"),{EnvironmentSpecularScale = 1},3,Enum.EasingDirection.InOut,Enum.EasingStyle.Circular)
  1342. tween(game:GetService("Lighting"),{EnvironmentDiffuseScale = 1},3,Enum.EasingDirection.InOut,Enum.EasingStyle.Circular)
  1343. hicolor = Color3.fromRGB(51, 81, 255)
  1344. attack = false
  1345. songid = 9046862941
  1346. ws = 0.5
  1347. change(bgm,{SoundId = "rbxassetid://9046862941",Pitch = 1,Looped = true,TimePosition = 0})
  1348. end
  1349. end
  1350. RightShoulder = raoffset
  1351. LeftShoulder = laoffset
  1352. RightHip = rloffset
  1353. LeftHip = lloffset
  1354. Neck = hoffset
  1355. RootJoint = toffset
  1356. local ROOTC0 = CFrame.new()*CFrame.Angles(math.rad(-90),0,math.rad(180))
  1357. local NECKC0 = CFrame.new(0,1,0)*CFrame.Angles(math.rad(-90),0,math.rad(180))
  1358. local RIGHTSHOULDERC0 = CFrame.new(-.5,0,0)*CFrame.Angles(0,math.rad(90),0)
  1359. local LEFTSHOULDERC0 = CFrame.new(.5,0,0)*CFrame.Angles(0,math.rad(-90),0)
  1360. local btr
  1361. debris:AddItem(bgm,0)
  1362. local cameratilt = cn()
  1363. btr = bgm.DescendantAdded:connect(function(hi)
  1364. if hi:IsA("TremoloSoundEffect") then
  1365. run.Heartbeat:Connect(function()
  1366. hi.Duty = 1
  1367. end)
  1368. end
  1369. end)
  1370.  
  1371. local rc0 = CFrame.new() * CFrame.Angles(math.rad(-90),math.rad(0),math.rad(180))
  1372. local nc0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(-90),math.rad(0),math.rad(180))
  1373. local rscp = CFrame.new(-.5,0,0) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(0))
  1374. local lscp = CFrame.new(.5,0,0) * CFrame.Angles(math.rad(0),math.rad(-90),math.rad(0))
  1375. function Randomizer(WhatInstance)
  1376. pcall(function()
  1377. if WhatInstance:IsA("BasePart") then
  1378. WhatInstance.Size = v3(math.clamp(math.random(0.001,2048),0.01,2048), math.clamp(math.random(0.001,2048),0.01,2048), math.clamp(math.random(0.001,2048),0.01,2048))
  1379. WhatInstance.Material = Materials[math.random(#Materials)]
  1380. WhatInstance.Color = c3(math.clamp(math.random(0.001,2048),0.01,2048), math.clamp(math.random(0.001,2048),0.01,2048), math.clamp(math.random(0.001,2048),0.01,2048))
  1381. WhatInstance.Name = randomstring()
  1382. elseif WhatInstance:IsA("DataModelMesh") then
  1383. WhatInstance.Scale = Vector3.new(1,1,1)
  1384. WhatInstance.Name = randomstring()
  1385. else
  1386. WhatInstance.Name = randomstring()
  1387. end
  1388. end)
  1389. end
  1390.  
  1391. run.RenderStepped:Connect(function()
  1392. sine = workspace.DistributedGameTime * 60
  1393.  
  1394. tm.MeshId = "rbxasset://fonts/torso.mesh"
  1395. hm.MeshId = "rbxassetid://7136622085"
  1396. ram.MeshId = "rbxassetid://7136860472"
  1397. lam.MeshId = "rbxassetid://7136860472"
  1398. llm.MeshId = "rbxassetid://7136860472"
  1399. rlm.MeshId = "rbxassetid://7136860472"
  1400. tm.TextureId = "rbxassetid://5891509571"
  1401. hm.TextureId = "rbxassetid://5891509571"
  1402. ram.TextureId = "rbxassetid://5891509571"
  1403. lam.TextureId = "rbxassetid://5891509571"
  1404. llm.TextureId = "rbxassetid://5891509571"
  1405. rlm.TextureId = "rbxassetid://5891509571"
  1406. r.CFrame = poscframe
  1407. if ypos < workspace.FallenPartsDestroyHeight then
  1408. respawnchr()
  1409. end
  1410. if ypos >= 3000 then
  1411. respawnchr()
  1412. end
  1413. if ypos <= -3000 then
  1414. respawnchr()
  1415. end
  1416. if tick()-bgmstartime > bgmtimelength then
  1417. bgmstartime,bgm.Name = tick(),"sdjfhsjdkhfkjsdhfsdjfyusdg"
  1418. end
  1419. local _tilt = cn(r.CFrame:VectorToObjectSpace(velocity))
  1420. local tilt = {X=clamp(_tilt.X,-7,7),Y=0,Z=clamp(_tilt.Z,-7,7)}
  1421. if not attack then
  1422. if yvelo > 0 and not fly then
  1423. laoffset = laoffset:Lerp(lac0*cn(-0.325000763,0.187000036,0)*euler(0,0,rad(-30)),animspeed)
  1424. raoffset = raoffset:Lerp(rac0*cn(0.325000763,0.187000036,0)*euler(0,0,rad(30)),animspeed)
  1425. lloffset = lloffset:Lerp(llc0*cn(0,0.57099998,-0.45300293)*euler(rad(-7.5),0,0),animspeed)
  1426. rloffset = rloffset:Lerp(rlc0,animspeed)
  1427. toffset = toffset:Lerp(cn(),animspeed)
  1428. hoffset = hoffset:Lerp(hc0,animspeed)
  1429. elseif yvelo < 0 and not fly then
  1430. laoffset = laoffset:Lerp(lac0*cn(-0.187999725,0.161999941,-0.46900177)*euler(rad(60),0,rad(-30)),animspeed)
  1431. raoffset = raoffset:Lerp(rac0*cn(0.187999725,0.161999941,-0.46900177)*euler(rad(60),0,rad(30)),animspeed)
  1432. lloffset = lloffset:Lerp(llc0,animspeed)
  1433. rloffset = rloffset:Lerp(rlc0*cn(0,0.57099998,-0.45300293)*euler(rad(-7.5),0,0),animspeed)
  1434. toffset = toffset:Lerp(euler(rad(-20),0,0),animspeed)
  1435. hoffset = hoffset:Lerp(hc0*cn(0,-0.0170001984,-0.128997803)*euler(rad(-7.5),0,0),animspeed)
  1436. elseif moving and gay == "angry" then
  1437. laoffset = laoffset:Lerp(lac0*cn(-0.1,0,-0.3)*euler(rad(110),0,rad(-10)),animspeed)
  1438. raoffset = raoffset:Lerp(rac0*cn(0.1,0,sin(sine/10)/20*tilt.Z)*euler(-rad(sin(sine/10)*3*tilt.Z),0,rad(10)),animspeed)
  1439. lloffset = lloffset:Lerp(llc0*cn(sin(sine/10)/20*tilt.X,0,sin(sine/10)/20*tilt.Z)*euler(-rad(sin(sine/10)*3*tilt.Z),0,rad(sin(sine/10)*3*tilt.X)),animspeed)
  1440. rloffset = rloffset:Lerp(rlc0*cn(-sin(sine/10)/20*tilt.X,0,-sin(sine/10)/20*tilt.Z)*euler(rad(sin(sine/10)*3*tilt.Z),0,-rad(sin(sine/10)*3*tilt.X)),animspeed)
  1441. toffset = toffset:Lerp(cn(0,sin(sine/5)/10,0)*euler(rad(tilt.Z*2),0,rad(-tilt.X)),animspeed)
  1442. hoffset = hoffset:Lerp(hc0*euler(0,-rad(tilt.X*5),0),animspeed)
  1443. gunoffset = gunoffset:Lerp(cn(-0.125,-0.898999929-cos(sine/10)/70*tilt.Z,0.95400238)*euler(0,rad(90),rad(-172.5+cos(sine/10)*tilt.Z*1.5)),animspeed)
  1444. elseif moving and gay == "hi" then
  1445. laoffset = laoffset:Lerp(lac0*cn(-0.1,0,-0.3)*euler(rad(110),0,rad(-10)),animspeed)
  1446. raoffset = raoffset:Lerp(rac0*cn(0.1,0,sin(sine/10)/20*tilt.Z)*euler(-rad(sin(sine/10)*3*tilt.Z),0,rad(10)),animspeed)
  1447. lloffset = lloffset:Lerp(llc0*cn(sin(sine/10)/20*tilt.X,0,sin(sine/10)/20*tilt.Z)*euler(-rad(sin(sine/10)*3*tilt.Z),0,rad(sin(sine/10)*3*tilt.X)),animspeed)
  1448. rloffset = rloffset:Lerp(rlc0*cn(-sin(sine/10)/20*tilt.X,0,-sin(sine/10)/20*tilt.Z)*euler(rad(sin(sine/10)*3*tilt.Z),0,-rad(sin(sine/10)*3*tilt.X)),animspeed)
  1449. toffset = toffset:Lerp(cn(0,sin(sine/5)/10,0)*euler(rad(tilt.Z*2),0,rad(-tilt.X)),animspeed)
  1450. hoffset = hoffset:Lerp(hc0*euler(0,-rad(tilt.X*5),0),animspeed)
  1451. gunoffset = gunoffset:Lerp(cn(-0.125,-0.898999929-cos(sine/10)/70*tilt.Z,0.95400238)*euler(0,rad(90),rad(-172.5+cos(sine/10)*tilt.Z*1.5)),animspeed)
  1452. elseif moving and gay == "bye" then
  1453. toffset = toffset:Lerp(CF(0, 3+.5*math.sin(sine/15), 0) * ANGLES(RAD(-50 + 3 * math.cos(sine/15)+tilt.Z*2), RAD(0), RAD(-2 * cos(sine/30)-tilt.X)), 0.4/3)
  1454. hoffset = hoffset:Lerp(hc0 * CF(0,0,-0) * ANGLES(RAD(30), RAD(0), RAD(-5*cos(sine/30))), 0.4/3)
  1455. raoffset = raoffset:Lerp(CF(1.95, 0.3, 0.7) * ANGLES(RAD(50+-15*cos(sine/15)), RAD(-120), RAD(-30)) * ANGLES(RAD(120+4*cos(sine/30)), RAD(0), RAD(0)), 0.4/3)
  1456. laoffset = laoffset:Lerp(CF(-1.2, -0, 0.2) * ANGLES(RAD(-0), RAD(90), RAD(-40)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1/3)
  1457. rloffset = rloffset:Lerp(rlc0 * CFrame.new(-0.06,0.4-0.01*cos(sine/20)/7,-0.5) * ANGLES(RAD(-45+3*cos(sine/15)), RAD(90), RAD(0)) * ANGLES(RAD(2), RAD(0), RAD(0)), 1/3)
  1458. lloffset = lloffset:Lerp(llc0 * CFrame.new(-0.06,0.08-0.03*cos(sine/20)/7,-0.2) *ANGLES(RAD(-6+4*cos(sine/15)), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1/2)
  1459. gunoffset = gunoffset:Lerp(CF(-0.4,-2,0) * ANGLES(RAD(180),RAD(0),RAD(90)),0.1)
  1460. elseif moving and gay == "ohfuck" then
  1461. toffset = toffset:Lerp(CF(0, 3+.5*math.sin(sine/15), 0) * ANGLES(RAD(-50 + 3 * math.cos(sine/15)+tilt.Z*2), RAD(0), RAD(-2 * cos(sine/30)-tilt.X)), 0.4/3)
  1462. hoffset = hoffset:Lerp(hc0 * CF(0,0,-0) * ANGLES(RAD(30), RAD(0), RAD(-5*cos(sine/30))), 0.4/3)
  1463. raoffset = raoffset:Lerp(CF(1.95, 0.3, 0.7) * ANGLES(RAD(50+-15*cos(sine/30)), RAD(-120), RAD(-30)) * ANGLES(RAD(120+4*cos(sine/30)), RAD(0), RAD(0)), 0.4/3)
  1464. laoffset = laoffset:Lerp(CF(-1.2, -0, 0.2) * ANGLES(RAD(-0), RAD(90), RAD(-40)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1/3)
  1465. rloffset = rloffset:Lerp(rlc0 * CFrame.new(-0.06,0.4-0.01*cos(sine/20)/7,-0.5) * ANGLES(RAD(-45+3*cos(sine/15)), RAD(90), RAD(0)) * ANGLES(RAD(2), RAD(0), RAD(0)), 1/3)
  1466. lloffset = lloffset:Lerp(llc0 * CFrame.new(-0.06,0.08-0.03*cos(sine/20)/7,-0.2) *ANGLES(RAD(-6+4*cos(sine/15)), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1/2)
  1467. gunoffset = gunoffset:Lerp(CF(-0.4,-2,0) * ANGLES(RAD(180),RAD(0),RAD(90)),0.1)
  1468. elseif moving and gay == "depressed SKID XD" then
  1469. toffset = toffset:Lerp(CF(0, 4+.5*math.sin(sine/15), 0) * ANGLES(RAD(-70+-3*math.cos(sine/17)+tilt.Z*2), RAD(0), RAD(0-tilt.X)), 0.3/3)
  1470. hoffset = hoffset:Lerp(hc0 * CF(0,0,-0.1) * ANGLES(RAD(-30+4*cos(sine/0.000000000001)), RAD(0+4*cos(sine/0.000000000001)), RAD(-5*cos(sine/0.000000000001))), 0.3/3)
  1471. raoffset = raoffset:Lerp(CF(1.7, 0.2+0.07*math.sin(sine/16), 0.4) * ANGLES(RAD(-20+5*cos(sine/15)), RAD(-80), RAD(40)) * ANGLES(RAD(20+4*cos(sine/17)), RAD(0), RAD(0)), 0.3/3)
  1472. laoffset = laoffset:Lerp(CF(-0.2, 1.3+0.07*math.sin(sine/16), -0.5) * ANGLES(RAD(160+5*cos(sine/15)), RAD(90), RAD(-40)) * ANGLES(RAD(-90+4*cos(sine/18)), RAD(0), RAD(0)), 1/3)
  1473. rloffset = rloffset:Lerp(rlc0 * CFrame.new(-0.06,0.5-0.01*cos(sine/20)/7,-0.3) * ANGLES(RAD(-30+5*cos(sine/15)), RAD(90), RAD(0)) * ANGLES(RAD(8), RAD(0), RAD(0)), 1/3)
  1474. lloffset = lloffset:Lerp(llc0 * CFrame.new(-0.06,0.1-0.01*cos(sine/20)/7,-0.2) *ANGLES(RAD(20+4*cos(sine/15)), RAD(-90), RAD(10)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1/2)
  1475. gunoffset = gunoffset:Lerp(CF(-0.4,-0.7,0) * ANGLES(RAD(180),RAD(0),RAD(0)),0.1)
  1476. elseif moving and gay == "kickisher" then
  1477. toffset = toffset:Lerp(CF(0, 1.8+.2*math.sin(sine/6), 0) * ANGLES(RAD(-50), RAD(0), RAD(0)), 0.2/3)
  1478. hoffset = hoffset:Lerp(hc0 * CF(0,0,0) * ANGLES(RAD(-30+2*cos(sine/0.000000000001)), RAD(10+2*cos(sine/0.000000000001)), RAD(-3*cos(sine/0.000000000001))), 0.4/3)
  1479. raoffset = raoffset:Lerp(CF(1.6, -0.1+0.07*math.sin(sine/16), 0.4) * ANGLES(RAD(0+5*cos(sine/13)), RAD(-80), RAD(10)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.4/3)
  1480. laoffset = laoffset:Lerp(CF(-0.5, 0.6, -0.5) * ANGLES(RAD(180+4*cos(sine/13)), RAD(90), RAD(-40)) * ANGLES(RAD(-30), RAD(0), RAD(0)), 1/3)
  1481. rloffset = rloffset:Lerp(rlc0 * CFrame.new(-0.02,0.3-0.2*cos(sine/20)/7,-0.5) * ANGLES(RAD(-30+5*cos(sine/15)), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1/3)
  1482. lloffset = lloffset:Lerp(llc0 * CFrame.new(-0.02,0-0.2*cos(sine/18)/7,0) *ANGLES(RAD(0+4*cos(sine/15)), RAD(-90), RAD(10)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1/2)
  1483. gunoffset = gunoffset:Lerp(CF(-0.4,-0.7,0) * ANGLES(RAD(180),RAD(0),RAD(0)),0.1)
  1484. elseif moving and gay == "limits who" then
  1485. toffset = toffset:Lerp(CF(0, 4+.5*math.sin(sine/15), 0) * ANGLES(RAD(-50+-5*math.cos(sine/15)), RAD(0), RAD(0)), 0.4/3)
  1486. hoffset = hoffset:Lerp(hc0 * CF(0,0,0) * ANGLES(RAD(40+4*cos(sine/15)), RAD(0), RAD(-10*cos(sine/30))), 0.7/3)
  1487. raoffset = raoffset:Lerp(CF(1.7, -0.2+0.07*math.sin(sine/16), 0.2) * ANGLES(RAD(30+2*cos(sine/15)), RAD(-90), RAD(40)) * ANGLES(RAD(40+4*cos(sine/17)), RAD(0), RAD(0)), 0.7/3)
  1488. laoffset = laoffset:Lerp(CF(-1.7, -0.2+0.07*math.sin(sine/16), 0.2) * ANGLES(RAD(30+2*cos(sine/15)), RAD(90), RAD(-40)) * ANGLES(RAD(40+4*cos(sine/18)), RAD(0), RAD(0)), 0.4/3)
  1489. rloffset = rloffset:Lerp(rlc0 * CFrame.new(-0.06,0.4-0.01*cos(sine/20)/7,-0.6) * ANGLES(RAD(-50+2*cos(sine/15)), RAD(90), RAD(0)) * ANGLES(RAD(2), RAD(0), RAD(0)), 0.4/3)
  1490. lloffset = lloffset:Lerp(llc0 * CFrame.new(-0.04,0.6-0.01*cos(sine/20)/7,0.4) *ANGLES(RAD(-40+1*cos(sine/15)), RAD(-90), RAD(0)) * ANGLES(RAD(-7), RAD(0), RAD(0)), 0.4/2)
  1491. gunoffset = gunoffset:Lerp(CF(0.2,0.3,0.7) * ANGLES(RAD(0),RAD(0),RAD(45)),0.1)
  1492. elseif gay == "hi" then
  1493. toffset = toffset:Lerp(CF(0, 0.50+.2*math.sin(sine/32), 0) * ANGLES(RAD(50), RAD(0), RAD(0)), 0.4/3)
  1494. hoffset = hoffset:Lerp(hc0 * CF(0,0.2,-0.3) * ANGLES(RAD(-40), RAD(10), RAD(0)), 0.4/3)
  1495. raoffset = raoffset:Lerp(CF(1.5, 0.1, -0.5) * ANGLES(RAD(40), RAD(-90), RAD(10-5*math.sin(sine/24))), 0.4/3)
  1496. laoffset = laoffset:Lerp(CF(-0.9, 0.3, -0.5) * ANGLES(RAD(-85), RAD(20), RAD(-80+5*math.sin(sine/24))), 0.4/3)
  1497. rloffset = rloffset:Lerp(rlc0 * ANGLES(RAD(-10), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(8+2.5*math.sin(sine/32)), RAD(0)), 0.4/3)
  1498. lloffset = lloffset:Lerp(llc0 *ANGLES(RAD(20), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(8+2.5*math.sin(sine/32)), RAD(0)), 0.4/3)
  1499. gunoffset = gunoffset:Lerp(CF(-0.4,-1.7,0) * ANGLES(RAD(180),RAD(0),RAD(100)),0.1)
  1500. elseif gay == "bye" then
  1501. toffset = toffset:Lerp(CF(0, 4+.5*math.sin(sine/15), 0) * EULER(RAD(40), RAD(30), RAD(-30+5*cos(sine/30))), 0.4/3)
  1502. hoffset = hoffset:Lerp(hc0 * CF(0,0.2,-0.2) * EULER(RAD(-30), RAD(-35), RAD(-5*cos(sine/30))), 0.7/3)
  1503. raoffset = raoffset:Lerp(CF(1.5, 0.5, -0.3) * EULER(RAD(30), RAD(-90), RAD(-30)) * EULER(RAD(10+4*cos(sine/30)), RAD(0), RAD(0)), 0.7/3)
  1504. laoffset = laoffset:Lerp(CF(-1.5, -0, 0) * EULER(RAD(90), RAD(90), RAD(-40)) * EULER(RAD(35), RAD(0), RAD(0)), 1/3)
  1505. rloffset = rloffset:Lerp(rlc0 * CFrame.new(-0.2,0.5-0.01*cos(sine/20)/7,-0.8) * EULER(RAD(-40+3*cos(sine/15)), RAD(90), RAD(0)) * ANGLES(RAD(22), RAD(0), RAD(0)), 1/3)
  1506. lloffset = lloffset:Lerp(llc0 * CFrame.new(-0.04,0.08-0.01*cos(sine/20)/7,-0) *EULER(RAD(-16-2*cos(sine/15)), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1/2)
  1507. gunoffset = gunoffset:Lerp(CF(-0.4,-1.7,0) * EULER(RAD(180),RAD(0),RAD(100)),0.1)
  1508. elseif gay == "depressed SKID XD" then
  1509. toffset = toffset:Lerp(CF(0, 4+.5*math.sin(sine/15), 0) * ANGLES(RAD(20+-3*math.cos(sine/17)), RAD(20), RAD(20)), 0.4/3)
  1510. hoffset = hoffset:Lerp(hc0 * CF(0,0.2,-0.1) * ANGLES(RAD(-30+4*cos(sine/0.000000000001)), RAD(20+4*cos(sine/0.000000000001)), RAD(-5*cos(sine/0.000000000001))), 0.4/3)
  1511. raoffset = raoffset:Lerp(CF(1.7, 0.2+0.07*math.sin(sine/16), 0.4) * ANGLES(RAD(-50+5*cos(sine/15)), RAD(-80), RAD(40)) * ANGLES(RAD(50+4*cos(sine/17)), RAD(0), RAD(0)), 0.4/3)
  1512. laoffset = laoffset:Lerp(CF(-0.2, 1.3+0.07*math.sin(sine/16), -0.7) * ANGLES(RAD(180+5*cos(sine/15)), RAD(90), RAD(-40)) * ANGLES(RAD(-95+4*cos(sine/18)), RAD(0), RAD(0)), 1/3)
  1513. rloffset = rloffset:Lerp(rlc0 * CFrame.new(-0.06,0.5-0.01*cos(sine/20)/7,-0.5) * ANGLES(RAD(-30+5*cos(sine/15)), RAD(90), RAD(0)) * ANGLES(RAD(8), RAD(0), RAD(0)), 1/3)
  1514. lloffset = lloffset:Lerp(llc0 * CFrame.new(-0.4,0.1-0.01*cos(sine/20)/7,-0.7) *ANGLES(RAD(50+4*cos(sine/15)), RAD(-90), RAD(10)) * ANGLES(RAD(-23), RAD(0), RAD(0)), 1/2)
  1515. gunoffset = gunoffset:Lerp(CF(-0.4,-0.7,0) * ANGLES(RAD(180),RAD(0),RAD(0)),0.1)
  1516. elseif gay == "kickisher" then
  1517. toffset = toffset:Lerp(CF(0, 1+.2*math.sin(sine/15), 0) * ANGLES(RAD(0), RAD(20), RAD(0)), 0.4/3)
  1518. hoffset = hoffset:Lerp(hc0 * CF(0,0,0) * ANGLES(RAD(-30+2*cos(sine/0.000000000001)), RAD(-15+2*cos(sine/0.000000000001)), RAD(-5*cos(sine/0.000000000001))), 0.4/3)
  1519. raoffset = raoffset:Lerp(CF(1.6, -0.1+0.07*math.sin(sine/16), 0.4) * ANGLES(RAD(-20+5*cos(sine/15)), RAD(-80), RAD(10)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.4/3)
  1520. laoffset = laoffset:Lerp(CF(-0.4, 0.6, -0.5) * ANGLES(RAD(180+3*cos(sine/15)), RAD(90), RAD(-40)) * ANGLES(RAD(-30), RAD(0), RAD(0)), 1/3)
  1521. rloffset = rloffset:Lerp(rlc0 * CFrame.new(-0.02,0.5-0.2*cos(sine/20)/7,-0.5) * ANGLES(RAD(-10+5*cos(sine/15)), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1/3)
  1522. lloffset = lloffset:Lerp(llc0 * CFrame.new(-0.02,0.1-0.2*cos(sine/20)/7,-0.6) *ANGLES(RAD(50+4*cos(sine/15)), RAD(-90), RAD(10)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1/2)
  1523. gunoffset = gunoffset:Lerp(CF(-0.4,-0.7,0) * ANGLES(RAD(180),RAD(0),RAD(0)),0.1)
  1524. elseif gay == "limits who" then
  1525. toffset = toffset:Lerp(CF(0, 4+.5*math.sin(sine/15), 0) * ANGLES(RAD(20+-3*math.cos(sine/17)), RAD(-40), RAD(30)), 0.4/3)
  1526. hoffset = hoffset:Lerp(hc0 * CF(0,0.2,-0.1) * ANGLES(RAD(-30+4*cos(sine/15)), RAD(35), RAD(-10*cos(sine/30))), 0.4/3)
  1527. raoffset = raoffset:Lerp(CF(1.7, -0.2+0.07*math.sin(sine/16), 0.2) * ANGLES(RAD(10+5*cos(sine/15)), RAD(-90), RAD(40)) * ANGLES(RAD(20+4*cos(sine/17)), RAD(0), RAD(0)), 0.4/3)
  1528. laoffset = laoffset:Lerp(CF(-1.2, 0.7+0.07*math.sin(sine/16), -0.5) * ANGLES(RAD(30+5*cos(sine/15)), RAD(90), RAD(-40)) * ANGLES(RAD(-150+4*cos(sine/18)), RAD(0), RAD(0)), 0.4/3)
  1529. rloffset = rloffset:Lerp(rlc0 * CFrame.new(-0.06,0.5-0.01*cos(sine/20)/7,-0.5) * ANGLES(RAD(-30+5*cos(sine/15)), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.4/3)
  1530. lloffset = lloffset:Lerp(llc0 * CFrame.new(0,0,0.8) *ANGLES(RAD(-40+4*cos(sine/15)), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.4/2)
  1531. gunoffset = gunoffset:Lerp(CF(0.2,0.3,0.7) * ANGLES(RAD(0),RAD(0),RAD(45)),0.1)
  1532. elseif gay == "angry" then
  1533. toffset = toffset:Lerp(CF(0, -1+.05*math.sin(sine/32), 0) * ANGLES(RAD(-10), RAD(0), RAD(20)), 0.15 / 3.5)
  1534. hoffset = hoffset:Lerp(hc0 * CF(0,0.2,-0.3) * ANGLES(RAD(-40), RAD(10), RAD(20)), 0.15 / 3.5)
  1535. raoffset = raoffset:Lerp(CF(1.8, -0.1, 0.4) * ANGLES(RAD(10), RAD(-60+3*math.sin(sine/30)), RAD(100)), 0.15 / 3.5)
  1536. laoffset = laoffset:Lerp(CF(-0.8, 0.7, -0.8) * ANGLES(RAD(140), RAD(40-3*math.sin(sine/30)), RAD(-140)), 0.15 / 3.5)
  1537. rloffset = rloffset:Lerp(rlc0 * cn(-0.1,0.8-.05*math.sin(sine/32),-0.8) * ANGLES(RAD(15), RAD(120), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / 3.5)
  1538. lloffset = lloffset:Lerp(llc0*cn(-0.2,0.4-.05*math.sin(sine/32),0.4) *ANGLES(RAD(-50), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / 3.5)
  1539. gunoffset = gunoffset:Lerp(cn(0.2,-0.7,0)*euler(0,rad(-180),rad(-180.5)),0.1)
  1540. elseif gay == "ohfuck" then
  1541. toffset = toffset:Lerp(CF(0, 3+.7*math.sin(sine/32), 0) * ANGLES(RAD(75 + 25 * sin(sine/26)), RAD(0), RAD(0)), 0.15 / 2)
  1542. hoffset = hoffset:Lerp(hc0 * CF(0,0,-0.2) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.15 / 2)
  1543. raoffset = raoffset:Lerp(CF(1.5, -0.3+0.02*sin(sine/28), 0.5) * ANGLES(RAD(-70), RAD(-90), RAD(-10-10*math.sin(sine/28))), 0.15 / 2)
  1544. laoffset = laoffset:Lerp(CF(-0.7, 0.7, 0.3) * ANGLES(RAD(20), RAD(20), RAD(-40+5*math.sin(sine/24))), 0.15 / 1)
  1545. rloffset = rloffset:Lerp(rlc0 * cn(0,0.7,-0.3) * ANGLES(RAD(-40 + 5 * sin(sine/21)), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / 1)
  1546. lloffset = lloffset:Lerp(llc0*cn(0,0.4,-0.3) *ANGLES(RAD(10 + 5 * sin(sine/23)), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / 1)
  1547. gunoffset = gunoffset:Lerp(cn(0.2,-0.5,0)*euler(0,rad(180),rad(-180.5)),0.1)
  1548. else
  1549. laoffset = laoffset:Lerp(lac0*cn(0.262001038-sin(sine/30)/10,-0.0739998817,-0.13999939)*euler(rad(7.44),0,rad(7.56-sin(sine/30)*7)),animspeed)
  1550. raoffset = raoffset:Lerp(rac0*cn(-0.125,-0.125,0.217002869-sin(sine/30)/10)*euler(rad(-7.5+sin(sine/30)*7),rad(-30),0),animspeed)
  1551. lloffset = lloffset:Lerp(llc0*euler(0,rad(15),0),animspeed)
  1552. rloffset = rloffset:Lerp(rlc0*cn(0,0.0160000324,0.124000549)*euler(rad(-7.5),0,0),animspeed)
  1553. toffset = toffset:Lerp(euler(rad(cos(sine/30)*2.5-2),rad(-15),0),animspeed)
  1554. hoffset = hoffset:Lerp(cn(0,1,0)*euler(rad(cos(sine/30)*5),rad(15),rad(cos(sine/60)*10))*cn(0,0.5,0),animspeed)
  1555. gunoffset = gunoffset:Lerp(cn(-0.6,-0.898999929+cos(sine/30)/5,0.95400238)*euler(rad(0),rad(60),rad(-182.5-cos(sine/30)*10)),animspeed)
  1556. end
  1557. end
  1558. t.CFrame = r.CFrame*toffset
  1559. h.CFrame,la.CFrame,ra.CFrame,ll.CFrame,rl.CFrame = t.CFrame*hoffset,t.CFrame*laoffset,t.CFrame*raoffset,t.CFrame*lloffset,t.CFrame*rloffset
  1560. gun.CFrame = ra.CFrame*gunoffset
  1561. local speen = 0
  1562. speen = speen + 0.04
  1563. if speen == 360 then
  1564. speen = 0
  1565. end
  1566. if gay == "bye" then
  1567. WACKYEFFECT({Time = 25,
  1568. EffectType = "Sphere",
  1569. Size = VT(0,0,0),
  1570. Size2 = VT(7+sick.PlaybackLoudness/25,0.55,7+sick.PlaybackLoudness/25),
  1571. Transparency = 0.3,
  1572. Transparency2 = 1,
  1573. CFrame = RootPart.CFrame*CF(0,-3,0),
  1574. MoveToPos = nil,
  1575. RotationX = 0,
  1576. RotationY = 0,
  1577. RotationZ = 0,
  1578. Material = "Neon",
  1579. Color = Color3.fromRGB(0+55*sick.PlaybackLoudness/100,0,0+55*sick.PlaybackLoudness/80),
  1580. SoundID = nil,
  1581. SoundPitch = 1,
  1582. SoundVolume = 0})
  1583. WACKYEFFECT({Time = 5, EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(2,2,2), Transparency = 0.1, Transparency2 = 1, CFrame = t.CFrame*laoffset*CFrame.new(0,-1.6,0)*CFrame.fromEulerAnglesXYZ(RAD(999*math.cos(sine/50)),RAD(0),RAD(999*math.cos(sine/50))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(0+55*sick.PlaybackLoudness/100,0,0+55*sick.PlaybackLoudness/80), SoundID = nil, SoundPitch = 1, SoundVolume = 0})
  1584. WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(8*math.cos(sine/3),-3,8*math.sin(sine/3)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(0+55*sick.PlaybackLoudness/100,0,0+55*sick.PlaybackLoudness/80), SoundID = nil, SoundPitch = 1, SoundVolume = 0,oriC = CFrame.new(0,0,0),posC = CFrame.new(0,0.5,0)})
  1585. hicolor = Color3.fromRGB(0+135*sick.PlaybackLoudness/100,0,0+135*sick.PlaybackLoudness/80)
  1586. elseif gay == "depressed SKID XD" then
  1587. WACKYEFFECT({Time = 1, EffectType = "Block", Size = VT(7+sick.PlaybackLoudness/55,0.55,7+sick.PlaybackLoudness/55), Size2 = VT(7+sick.PlaybackLoudness/25,0.55,7+sick.PlaybackLoudness/25), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-3,0)*CFrame.Angles(RAD(0),RAD(sick.PlaybackLoudness),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(0+178*sick.PlaybackLoudness/100,0+178*sick.PlaybackLoudness/100,0+178*sick.PlaybackLoudness/100), SoundID = nil, SoundPitch = 0, SoundVolume = 0})
  1588. WACKYEFFECT({Time = 1, EffectType = "Block", Size = VT(10+sick.PlaybackLoudness/25,0.44,10+sick.PlaybackLoudness/25), Size2 = VT(10+sick.PlaybackLoudness/55,0.44,10+sick.PlaybackLoudness/55), Transparency = 0.6, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-3,0)*CFrame.Angles(RAD(0),RAD(-sick.PlaybackLoudness/2),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(0,0,0), SoundID = nil, SoundPitch = 0, SoundVolume = 0})
  1589. elseif gay == "limits who" then
  1590. WACKYEFFECT({Time = 47, EffectType = "Sphere", Size = VT(1.081, 0.267, 0.211), Size2 = VT(1.081, 0.267, 0.211), Transparency = 0.4, Transparency2 = 0.6, CFrame = RootPart.CFrame*CFrame.new(10*math.sin(sine/45),math.random(-10,10),10*math.cos(sine/45))*CFrame.Angles(math.rad(speen),math.rad(180),math.rad(speen)), MoveToPos = nil, RotationX = 1, RotationY = 1, RotationZ = 1, Material = "Neon", Color = Color3.fromRGB(0+178*sick.PlaybackLoudness/100,0+178*sick.PlaybackLoudness/100,0+178*sick.PlaybackLoudness/100), SoundID = nil, SoundPitch = 0, SoundVolume = 0})
  1591. WACKYEFFECT({Time = 47, EffectType = "Sphere", Size = VT(0.581, 0.067, 0.011), Size2 = VT(1.081, 0.267, 0.211), Transparency = 0.7, Transparency2 = 0.6, CFrame = RootPart.CFrame*CFrame.new(-10*math.sin(sine/45),math.random(-10,10),-10*math.cos(sine/45))*CFrame.Angles(math.rad(speen),math.rad(180),math.rad(speen)), MoveToPos = nil, RotationX = 1, RotationY = 1, RotationZ = 1, Material = "Neon", Color = Color3.fromRGB(255,0,0), SoundID = nil, SoundPitch = 0, SoundVolume = 0})
  1592. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0.581, 0.067, 0.011), Size2 = VT(1.081, 0.267, 0.211), Transparency = 0.7, Transparency2 = 0.6, CFrame = RootPart.CFrame*CFrame.new(-5*math.sin(sine/5),math.random(-10,10),-5*math.cos(sine/5))*CFrame.Angles(math.rad(speen),math.rad(180),math.rad(speen)), MoveToPos = nil, RotationX = 1, RotationY = 1, RotationZ = 1, Material = "Neon", Color = Color3.fromRGB(0,175,255), SoundID = nil, SoundPitch = 0, SoundVolume = 0})
  1593.  
  1594. end
  1595. if gay == "limits who" then
  1596. gun.CFrame = t.CFrame*gunoffset
  1597. gunm.VertexColor = Vector3.new(0+bgm.PlaybackLoudness/500,0,0)
  1598. gunlight.Color = Color3.new(0+bgm.PlaybackLoudness/500,0,0)
  1599. cam.FieldOfView = 70 + bgm.PlaybackLoudness/55
  1600. hicolor = Color3.new(0+bgm.PlaybackLoudness/500,0,0)
  1601. else
  1602. gun.CFrame = ra.CFrame*gunoffset
  1603. gunm.VertexColor = Vector3.new(255,255,255)
  1604. gunlight.Color = Color3.new(1,1,1)
  1605. cam.FieldOfView = 70
  1606. end
  1607. c.CFrame = r.CFrame * cn(0,1.5,0)
  1608. if sine/20 == math.floor(sine/20) then
  1609. --debris:AddItem(r,0)
  1610. --debris:AddItem(h,0) debris:AddItem(t,0) debris:AddItem(la,0) debris:AddItem(ra,0) debris:AddItem(ll,0) debris:AddItem(rl,0)
  1611. end
  1612. bgm.Volume = clamp(25/(cam.CFrame.p-r.Position).Magnitude,0,10)
  1613. end)
  1614.  
  1615. workspace:GetPropertyChangedSignal("CurrentCamera"):Connect(function()
  1616. cam =workspace.CurrentCamera
  1617. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement