Advertisement
sIendytubble

Cirno

May 17th, 2020 (edited)
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 46.86 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,game,owner = owner,game
  3. local RealPlayer = Player
  4. do
  5. print("FE Compatibility code by Mokiros")
  6. local rp = RealPlayer
  7. script.Parent = rp.Character
  8.  
  9. --RemoteEvent for communicating
  10. local Event = Instance.new("RemoteEvent")
  11. Event.Name = "UserInput_Event"
  12.  
  13. --Fake event to make stuff like Mouse.KeyDown work
  14. local function fakeEvent()
  15. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  16. t.connect = t.Connect
  17. return t
  18. end
  19.  
  20. --Creating fake input objects with fake variables
  21. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  22. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  23. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  24. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  25. end}
  26. --Merged 2 functions into one by checking amount of arguments
  27. CAS.UnbindAction = CAS.BindAction
  28.  
  29. --This function will trigger the events that have been :Connect()'ed
  30. local function te(self,ev,...)
  31. local t = m[ev]
  32. if t and t._fakeEvent then
  33. for _,f in pairs(t.Functions) do
  34. f(...)
  35. end
  36. end
  37. end
  38. m.TrigEvent = te
  39. UIS.TrigEvent = te
  40.  
  41. Event.OnServerEvent:Connect(function(plr,io)
  42. if plr~=rp then return end
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. if not io.isMouse then
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  51. return m:TrigEvent(b and "Button2Down" or "Button2Up")
  52. end
  53. for _,t in pairs(CAS.Actions) do
  54. for _,k in pairs(t.Keys) do
  55. if k==io.KeyCode then
  56. t.Function(t.Name,io.UserInputState,io)
  57. end
  58. end
  59. end
  60. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  61. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  62. end
  63. end)
  64. Event.Parent = NLS([==[
  65. local Player = game:GetService("Players").LocalPlayer
  66. local Event = script:WaitForChild("UserInput_Event")
  67. local Mouse = Player:GetMouse()
  68. local UIS = game:GetService("UserInputService")
  69. local input = function(io,a)
  70. if a then return end
  71. --Since InputObject is a client-side instance, we create and pass table instead
  72. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  73. end
  74. UIS.InputBegan:Connect(input)
  75. UIS.InputEnded:Connect(input)
  76. local h,t
  77. --Give the server mouse data 30 times every second, but only if the values changed
  78. --If player is not moving their mouse, client won't fire events
  79. while wait(1/30) do
  80. if h~=Mouse.Hit or t~=Mouse.Target then
  81. h,t=Mouse.Hit,Mouse.Target
  82. Event:FireServer({isMouse=true,Target=t,Hit=h})
  83. end
  84. end]==],Player.Character)
  85.  
  86. ----Sandboxed game object that allows the usage of client-side methods and services
  87. --Real game object
  88. local _rg = game
  89.  
  90. --Metatable for fake service
  91. local fsmt = {
  92. __index = function(self,k)
  93. local s = rawget(self,"_RealService")
  94. if s then
  95. return typeof(s[k])=="function"
  96. and function(_,...)return s[k](s,...)end or s[k]
  97. end
  98. end,
  99. __newindex = function(self,k,v)
  100. local s = rawget(self,"_RealService")
  101. if s then s[k]=v end
  102. end
  103. }
  104. local function FakeService(t,RealService)
  105. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  106. return setmetatable(t,fsmt)
  107. end
  108.  
  109. --Fake game object
  110. local g = {
  111. GetService = function(self,s)
  112. return rawget(self,s) or _rg:GetService(s)
  113. end,
  114. Players = FakeService({
  115. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  116. },"Players"),
  117. UserInputService = FakeService(UIS,"UserInputService"),
  118. ContextActionService = FakeService(CAS,"ContextActionService"),
  119. RunService = FakeService({
  120. _btrs = {},
  121. RenderStepped = _rg:GetService("RunService").Heartbeat,
  122. BindToRenderStep = function(self,name,_,fun)
  123. self._btrs[name] = self.Heartbeat:Connect(fun)
  124. end,
  125. UnbindFromRenderStep = function(self,name)
  126. self._btrs[name]:Disconnect()
  127. end,
  128. },"RunService")
  129. }
  130. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  131. g.service = g.GetService
  132. FakeService(g,game)
  133. --Changing owner to fake player object to support owner:GetMouse()
  134. game,owner = g,g.Players.LocalPlayer
  135. end
  136. Player = game.Players.LocalPlayer
  137. Mouse = Player:GetMouse()
  138. mouse = Player:GetMouse()
  139. UserInputService = game:GetService("UserInputService")
  140. --ToolFunction = game:GetService(too)
  141. RenderStepped = game:GetService("RunService").RenderStepped
  142. local ts = game:GetService("TweenService")
  143.  
  144. --[[
  145. if you find this please dont sell it without my permission
  146. if you do ill teleport every cookie that you get to my house for the rest of your life
  147.  
  148. made by ceat_ceat
  149. shion wit da bepis#6144
  150. ]]
  151.  
  152. local plr = Player
  153. local chr = plr.Character
  154. local head = chr.Head
  155. local torso = chr.Torso
  156. local hrp = chr.HumanoidRootPart
  157. local larm = chr["Left Arm"]
  158. local rarm = chr["Right Arm"]
  159. local lleg = chr["Left Leg"]
  160. local rleg = chr["Right Leg"]
  161. local mouse = Mouse
  162. local hum = chr.Humanoid
  163.  
  164. local animspeed = 1/3
  165. local nowhy = 0
  166. local attack = false
  167.  
  168. hum.WalkSpeed = 45
  169.  
  170. -- shortcuts
  171.  
  172. local cn = CFrame.new
  173. local ca = CFrame.Angles
  174. local rad = math.rad
  175. local random = math.random
  176. local sin = math.sin
  177. local cos = math.cos
  178. local v3 = Vector3.new
  179. local v2 = Vector2.new
  180. local c3 = Color3.fromRGB
  181. local abs = math.abs
  182. local inf = math.huge
  183. local floor = math.floor
  184. local ceil = math.ceil
  185. local cseq = ColorSequence.new
  186. local cseqk = ColorSequenceKeypoint.new
  187. local nseq = NumberSequence.new
  188. local nseqk = NumberSequenceKeypoint.new
  189. local clamp = math.clamp
  190. local workspace = game:GetService("Workspace")
  191.  
  192. -- functions
  193.  
  194. function change(instance, properties)
  195. for i, v in pairs(properties) do
  196. instance[i] = v
  197. end
  198. end
  199. function create(class, properties)
  200. local thing = Instance.new(class)
  201. change(thing, properties)
  202. if thing:IsA("BasePart") then
  203. thing.Locked = true
  204. if not thing.Anchored then
  205. thing:SetNetworkOwner(nil)
  206. end
  207. end
  208. return thing
  209. end
  210. function debris(instance, delay)
  211. game:GetService("Debris"):AddItem(instance, delay)
  212. end
  213. function playsound(id, parent, volume)
  214. local sound = create("Sound", {
  215. Parent = parent,
  216. SoundId = string.format("rbxassetid://%s",tostring(id)),
  217. Volume = volume
  218. })
  219. sound:Play()
  220. debris(sound, sound.TimeLength)
  221. return sound
  222. end
  223. function raycast(origin, direction, range, ignore)
  224. return workspace:FindPartOnRay(Ray.new(origin, direction*range), ignore)
  225. end
  226. function tween(instance, properties, duration, direction, easing)
  227. local ease = Enum.EasingStyle.Quad
  228. if easing then ease = easing end
  229. ts:Create(instance,TweenInfo.new(duration,ease,direction),properties):Play()
  230. end
  231. function randomstring()
  232. local e = {}
  233. for i = 1,random(5,50) do
  234. table.insert(e,#e+1,utf8.char(random(10,132)))
  235. end
  236. return table.concat(e)
  237. end
  238.  
  239. -- chr setup
  240.  
  241. local fx = create("Model",{
  242. Parent = chr,
  243. Name = "Effects"
  244. })
  245.  
  246. for i, v in pairs(chr:GetChildren()) do
  247. if v:IsA("Shirt") or v:IsA("Pants") or v:IsA("ShirtGraphic") or v:IsA("Accessory") or v:IsA("CharacterMesh") or v:IsA("BodyColors") then
  248. v:Destroy()
  249. end
  250. end
  251. BodyColors0 = Instance.new("BodyColors")
  252. BodyColors0.Name = "bc"
  253. BodyColors0.Parent = script
  254. BodyColors0.HeadColor = BrickColor.new("Pastel brown")
  255. BodyColors0.HeadColor3 = Color3.new(1, 0.8, 0.6)
  256. BodyColors0.LeftArmColor = BrickColor.new("Pastel brown")
  257. BodyColors0.LeftArmColor3 = Color3.new(1, 0.8, 0.6)
  258. BodyColors0.LeftLegColor = BrickColor.new("Pastel brown")
  259. BodyColors0.LeftLegColor3 = Color3.new(1, 0.8, 0.6)
  260. BodyColors0.RightArmColor = BrickColor.new("Pastel brown")
  261. BodyColors0.RightArmColor3 = Color3.new(1, 0.8, 0.6)
  262. BodyColors0.RightLegColor = BrickColor.new("Pastel brown")
  263. BodyColors0.RightLegColor3 = Color3.new(1, 0.8, 0.6)
  264. BodyColors0.TorsoColor = BrickColor.new("Pastel brown")
  265. BodyColors0.TorsoColor3 = Color3.new(1, 0.8, 0.6)
  266. script.bc.Parent = chr
  267. create("Shirt",{
  268. Parent = chr,
  269. ShirtTemplate = "rbxassetid://3017942434"
  270. })
  271. create("Pants",{
  272. Parent = chr,
  273. PantsTemplate = "rbxassetid://6142168018"
  274. })
  275. head.face:Destroy()
  276. local facethingidk = create("Part",{
  277. Parent = head,
  278. CanCollide = false,
  279. Size = v3(1.5,1,1.25),
  280. Transparency = 1,
  281. })
  282. create("Decal",{
  283. Parent = facethingidk,
  284. Texture = "http://www.roblox.com/asset/?id=1801738430"
  285. })
  286. create("Weld",{
  287. Parent = head,
  288. Part0 = head,
  289. Part1 = facethingidk
  290. })
  291. hum.DisplayName = "Cirno"
  292. local chrcontainer = create("VelocityMotor",{
  293. Parent = workspace,
  294. Name = randomstring()
  295. })
  296. chr.Parent = chrcontainer
  297.  
  298. local hc0 = cn(0,1.5,0)
  299. local lac0 = cn(-1.5,0,0)
  300. local rac0 = cn(1.5,0,0)
  301. local llc0 = cn(-0.5,-2,0)
  302. local rlc0 = cn(0.5,-2,0)
  303.  
  304. local headweld = create("Weld",{
  305. Parent = torso,
  306. Part0 = torso,
  307. Part1 = head,
  308. C0 = hc0
  309. })
  310. local laweld = create("Weld",{
  311. Parent = torso,
  312. Part0 = torso,
  313. Part1 = larm,
  314. C0 = lac0
  315. })
  316. local raweld = create("Weld",{
  317. Parent = torso,
  318. Part0 = torso,
  319. Part1 = rarm,
  320. C0 = rac0
  321. })
  322. local llweld = create("Weld",{
  323. Parent = torso,
  324. Part0 = torso,
  325. Part1 = lleg,
  326. C0 = llc0
  327. })
  328. local rlweld = create("Weld",{
  329. Parent = torso,
  330. Part0 = torso,
  331. Part1 = rleg,
  332. C0 = rlc0
  333. })
  334. local torsoweld = create("Weld",{
  335. Parent = hrp,
  336. Part0 = hrp,
  337. Part1 = torso,
  338. })
  339. Model0 = Instance.new("Model")
  340. Part1 = Instance.new("Part")
  341. Model2 = Instance.new("Model")
  342. Model3 = Instance.new("Model")
  343. Part4 = Instance.new("Part")
  344. SpecialMesh5 = Instance.new("SpecialMesh")
  345. Weld6 = Instance.new("Weld")
  346. Weld7 = Instance.new("Weld")
  347. Weld8 = Instance.new("Weld")
  348. Part9 = Instance.new("Part")
  349. SpecialMesh10 = Instance.new("SpecialMesh")
  350. Part11 = Instance.new("Part")
  351. SpecialMesh12 = Instance.new("SpecialMesh")
  352. Part13 = Instance.new("Part")
  353. Model14 = Instance.new("Model")
  354. Part15 = Instance.new("Part")
  355. SpecialMesh16 = Instance.new("SpecialMesh")
  356. Weld17 = Instance.new("Weld")
  357. Weld18 = Instance.new("Weld")
  358. Weld19 = Instance.new("Weld")
  359. Part20 = Instance.new("Part")
  360. SpecialMesh21 = Instance.new("SpecialMesh")
  361. Part22 = Instance.new("Part")
  362. Part23 = Instance.new("Part")
  363. SpecialMesh24 = Instance.new("SpecialMesh")
  364. Part25 = Instance.new("Part")
  365. SpecialMesh26 = Instance.new("SpecialMesh")
  366. Part27 = Instance.new("Part")
  367. SpecialMesh28 = Instance.new("SpecialMesh")
  368. Weld29 = Instance.new("Weld")
  369. Weld30 = Instance.new("Weld")
  370. Part31 = Instance.new("Part")
  371. SpecialMesh32 = Instance.new("SpecialMesh")
  372. Model0.Name = "chrmod"
  373. Model0.Parent = script
  374. Part1.Name = "t"
  375. Part1.Parent = Model0
  376. Part1.CFrame = CFrame.new(-25.3589325, 16.0000534, 7.55558395, 1.19248806e-08, 0, -1, 0, 1, 0, 1, 0, 1.19248806e-08)
  377. Part1.Orientation = Vector3.new(0, -90, 0)
  378. Part1.Position = Vector3.new(-25.3589325, 16.0000534, 7.55558395)
  379. Part1.Rotation = Vector3.new(0, -90, 0)
  380. Part1.Transparency = 1
  381. Part1.Size = Vector3.new(2, 2, 1)
  382. Part1.BottomSurface = Enum.SurfaceType.Smooth
  383. Part1.CanCollide = false
  384. Part1.TopSurface = Enum.SurfaceType.Smooth
  385. Model2.Name = "wings"
  386. Model2.Parent = Part1
  387. Model3.Name = "set1"
  388. Model3.Parent = Model2
  389. Part4.Name = "a"
  390. Part4.Parent = Model3
  391. Part4.CFrame = CFrame.new(-26.4461708, 14.8002176, 9.57639885, -0.965915322, 0.224141896, 0.129407808, -9.02771617e-08, 0.49999541, -0.866015613, -0.258815765, -0.836508572, -0.482957095)
  392. Part4.Orientation = Vector3.new(60, 165, 0)
  393. Part4.Position = Vector3.new(-26.4461708, 14.8002176, 9.57639885)
  394. Part4.Rotation = Vector3.new(119.150002, 7.44000006, -166.940002)
  395. Part4.Color = Color3.new(0.623529, 0.952941, 0.913725)
  396. Part4.Size = Vector3.new(0.600000024, 3.60000038, 0.600000024)
  397. Part4.BrickColor = BrickColor.new("Pastel blue-green")
  398. Part4.CanCollide = false
  399. Part4.Reflectance = 0.5
  400. Part4.brickColor = BrickColor.new("Pastel blue-green")
  401. Part4.FormFactor = Enum.FormFactor.Custom
  402. Part4.formFactor = Enum.FormFactor.Custom
  403. SpecialMesh5.Parent = Part4
  404. SpecialMesh5.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  405. SpecialMesh5.Scale = Vector3.new(0.100000001, 3, 0.600000024)
  406. SpecialMesh5.MeshType = Enum.MeshType.FileMesh
  407. Weld6.Name = "BTWeld"
  408. Weld6.Parent = Part4
  409. Weld6.C1 = CFrame.new(0, -1.14996338, -1.99179077, 0.999995947, -1.34110451e-07, 2.23517418e-08, 5.96046448e-08, -0.499998301, -0.866021752, -5.21540642e-08, 0.866022527, -0.499997973)
  410. Weld6.Part0 = Part4
  411. Weld6.Part1 = Part9
  412. Weld6.part1 = Part9
  413. Weld7.Name = "BTWeld"
  414. Weld7.Parent = Part4
  415. Weld7.C1 = CFrame.new(2.02082062, -1.19985104, 0.399734497, -0.258818001, -0.836514294, -0.482961208, 2.5218605e-09, 0.499998689, -0.866022706, 0.965923131, -0.224143267, -0.129408911)
  416. Weld7.Part0 = Part4
  417. Weld7.Part1 = Part13
  418. Weld7.part1 = Part13
  419. Weld8.Name = "BTWeld"
  420. Weld8.Parent = Part4
  421. Weld8.C1 = CFrame.new(-1.52587891e-05, -0.200847626, -1.19996405, 0.999995947, -1.34110451e-07, 2.98023224e-08, 4.47034836e-08, -0.866022468, -0.499997854, 6.51816379e-11, 0.499998361, -0.866021872)
  422. Weld8.Part0 = Part4
  423. Weld8.Part1 = Part11
  424. Weld8.part1 = Part11
  425. Part9.Name = "c"
  426. Part9.Parent = Model3
  427. Part9.CFrame = CFrame.new(-26.4461708, 17.1001072, 9.57639694, -0.965911448, -0.224140614, 0.12940833, -1.76688374e-07, 0.499991536, 0.866013348, -0.258814603, 0.836504161, -0.482957721)
  428. Part9.Orientation = Vector3.new(-60, 165, 0)
  429. Part9.Position = Vector3.new(-26.4461708, 17.1001072, 9.57639694)
  430. Part9.Rotation = Vector3.new(-119.150002, 7.44000006, 166.940002)
  431. Part9.Color = Color3.new(0.623529, 0.952941, 0.913725)
  432. Part9.Size = Vector3.new(0.600000024, 3.60000038, 0.600000024)
  433. Part9.BrickColor = BrickColor.new("Pastel blue-green")
  434. Part9.CanCollide = false
  435. Part9.Reflectance = 0.5
  436. Part9.brickColor = BrickColor.new("Pastel blue-green")
  437. Part9.FormFactor = Enum.FormFactor.Custom
  438. Part9.formFactor = Enum.FormFactor.Custom
  439. SpecialMesh10.Parent = Part9
  440. SpecialMesh10.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  441. SpecialMesh10.Scale = Vector3.new(0.100000001, 3, 0.600000024)
  442. SpecialMesh10.MeshType = Enum.MeshType.FileMesh
  443. Part11.Name = "b"
  444. Part11.Parent = Model3
  445. Part11.CFrame = CFrame.new(-26.4981689, 16.0001736, 9.77039623, -0.965919256, -0.258817315, 3.12924385e-07, -9.03426809e-08, -5.96046448e-07, 0.999993086, -0.258816838, 0.965919733, -8.04662704e-07)
  446. Part11.Orientation = Vector3.new(-89.7900009, 158.75, -171.380005)
  447. Part11.Position = Vector3.new(-26.4981689, 16.0001736, 9.77039623)
  448. Part11.Rotation = Vector3.new(-90, 0, 165)
  449. Part11.Color = Color3.new(0.623529, 0.952941, 0.913725)
  450. Part11.Size = Vector3.new(0.600000024, 3.60000038, 0.600000024)
  451. Part11.BrickColor = BrickColor.new("Pastel blue-green")
  452. Part11.CanCollide = false
  453. Part11.Reflectance = 0.5
  454. Part11.brickColor = BrickColor.new("Pastel blue-green")
  455. Part11.FormFactor = Enum.FormFactor.Custom
  456. Part11.formFactor = Enum.FormFactor.Custom
  457. SpecialMesh12.Parent = Part11
  458. SpecialMesh12.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  459. SpecialMesh12.Scale = Vector3.new(0.100000001, 3, 0.600000024)
  460. SpecialMesh12.MeshType = Enum.MeshType.FileMesh
  461. Part13.Name = "core"
  462. Part13.Parent = Model3
  463. Part13.CFrame = CFrame.new(-26.0464401, 16.0000553, 7.55560255, -5.73694706e-07, 5.58793545e-07, -0.99998641, -1.34110451e-06, 0.999986291, -5.58793545e-07, 0.999987125, -1.37090683e-06, 5.77419996e-07)
  464. Part13.Orientation = Vector3.new(0, -90, 0)
  465. Part13.Position = Vector3.new(-26.0464401, 16.0000553, 7.55560255)
  466. Part13.Rotation = Vector3.new(44.0600014, -89.6999969, -135.75)
  467. Part13.Transparency = 1
  468. Part13.Size = Vector3.new(0.25, 0.25, 0.125)
  469. Part13.BottomSurface = Enum.SurfaceType.Smooth
  470. Part13.CanCollide = false
  471. Part13.TopSurface = Enum.SurfaceType.Smooth
  472. Model14.Name = "set2"
  473. Model14.Parent = Model2
  474. Part15.Name = "a"
  475. Part15.Parent = Model14
  476. Part15.CFrame = CFrame.new(-26.4461918, 14.8002167, 5.50752926, 0.965925932, 0.224144429, 0.129409939, -2.39142395e-09, 0.500000179, -0.866025329, -0.258818954, 0.836515844, 0.482962936)
  477. Part15.Orientation = Vector3.new(60, 15, 0)
  478. Part15.Position = Vector3.new(-26.4461918, 14.8002167, 5.50752926)
  479. Part15.Rotation = Vector3.new(60.8499985, 7.44000006, -13.0600004)
  480. Part15.Color = Color3.new(0.623529, 0.952941, 0.913725)
  481. Part15.Size = Vector3.new(0.600000024, 3.60000038, 0.600000024)
  482. Part15.BrickColor = BrickColor.new("Pastel blue-green")
  483. Part15.CanCollide = false
  484. Part15.Reflectance = 0.5
  485. Part15.brickColor = BrickColor.new("Pastel blue-green")
  486. Part15.FormFactor = Enum.FormFactor.Custom
  487. Part15.formFactor = Enum.FormFactor.Custom
  488. SpecialMesh16.Parent = Part15
  489. SpecialMesh16.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  490. SpecialMesh16.Scale = Vector3.new(0.100000001, 3, 0.600000024)
  491. SpecialMesh16.MeshType = Enum.MeshType.FileMesh
  492. Weld17.Name = "BTWeld"
  493. Weld17.Parent = Part15
  494. Weld17.C1 = CFrame.new(-2.38418579e-05, -0.200839996, -1.19995654, 1.00000012, 2.38418579e-07, 1.49011612e-07, -2.98023224e-07, -0.866025329, -0.5, 6.51709797e-11, 0.5, -0.866025448)
  495. Weld17.Part0 = Part15
  496. Weld17.Part1 = Part23
  497. Weld17.part1 = Part23
  498. Weld18.Name = "BTWeld"
  499. Weld18.Parent = Part15
  500. Weld18.C1 = CFrame.new(-9.53674316e-07, -1.14995193, -1.99178123, 1, 5.06639481e-07, 2.98023224e-07, -5.06639481e-07, -0.499999762, -0.866025448, 2.83122063e-07, 0.866025329, -0.500000119)
  501. Weld18.Part0 = Part15
  502. Weld18.Part1 = Part20
  503. Weld18.part1 = Part20
  504. Weld19.Name = "BTWeld"
  505. Weld19.Parent = Part15
  506. Weld19.C1 = CFrame.new(-2.04804993, -1.19984305, 0.399753571, -0.258818954, 0.836515844, 0.482962936, -2.39142395e-09, 0.500000179, -0.866025329, -0.965925932, -0.224144414, -0.129409939)
  507. Weld19.Part0 = Part15
  508. Weld19.Part1 = Part22
  509. Weld19.part1 = Part22
  510. Part20.Name = "b"
  511. Part20.Parent = Model14
  512. Part20.CFrame = CFrame.new(-26.4461899, 17.1001263, 5.50753117, 0.965926111, -0.224144965, 0.129410043, -7.167273e-09, 0.5, 0.866025567, -0.258818388, -0.836515784, 0.48296231)
  513. Part20.Orientation = Vector3.new(-60, 15, 0)
  514. Part20.Position = Vector3.new(-26.4461899, 17.1001263, 5.50753117)
  515. Part20.Rotation = Vector3.new(-60.8499985, 7.44000006, 13.0600004)
  516. Part20.Color = Color3.new(0.623529, 0.952941, 0.913725)
  517. Part20.Size = Vector3.new(0.600000024, 3.60000038, 0.600000024)
  518. Part20.BrickColor = BrickColor.new("Pastel blue-green")
  519. Part20.CanCollide = false
  520. Part20.Reflectance = 0.5
  521. Part20.brickColor = BrickColor.new("Pastel blue-green")
  522. Part20.FormFactor = Enum.FormFactor.Custom
  523. Part20.formFactor = Enum.FormFactor.Custom
  524. SpecialMesh21.Parent = Part20
  525. SpecialMesh21.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  526. SpecialMesh21.Scale = Vector3.new(0.100000001, 3, 0.600000024)
  527. SpecialMesh21.MeshType = Enum.MeshType.FileMesh
  528. Part22.Name = "core"
  529. Part22.Parent = Model14
  530. Part22.CFrame = CFrame.new(-26.0464363, 16.0000591, 7.55557775, 6.33299351e-07, -2.98023224e-08, -1.00000048, -5.96046448e-08, 1, 3.7252903e-08, 0.999999225, -5.96046448e-08, -6.1839819e-07)
  531. Part22.Orientation = Vector3.new(0, -90, 0)
  532. Part22.Position = Vector3.new(-26.0464363, 16.0000591, 7.55557775)
  533. Part22.Rotation = Vector3.new(0, -90, 0)
  534. Part22.Transparency = 1
  535. Part22.Size = Vector3.new(0.25, 0.25, 0.125)
  536. Part22.BottomSurface = Enum.SurfaceType.Smooth
  537. Part22.CanCollide = false
  538. Part22.TopSurface = Enum.SurfaceType.Smooth
  539. Part23.Name = "c"
  540. Part23.Parent = Model14
  541. Part23.CFrame = CFrame.new(-26.4981499, 16.0001736, 5.31352615, 0.965925753, -0.258819491, -5.16210541e-08, -2.45665688e-09, -2.08616328e-07, 1, -0.258819222, -0.965925574, -2.02143966e-07)
  542. Part23.Orientation = Vector3.new(-90, 15, 0)
  543. Part23.Position = Vector3.new(-26.4981499, 16.0001736, 5.31352615)
  544. Part23.Rotation = Vector3.new(-90, 0, 15)
  545. Part23.Color = Color3.new(0.623529, 0.952941, 0.913725)
  546. Part23.Size = Vector3.new(0.600000024, 3.60000038, 0.600000024)
  547. Part23.BrickColor = BrickColor.new("Pastel blue-green")
  548. Part23.CanCollide = false
  549. Part23.Reflectance = 0.5
  550. Part23.brickColor = BrickColor.new("Pastel blue-green")
  551. Part23.FormFactor = Enum.FormFactor.Custom
  552. Part23.formFactor = Enum.FormFactor.Custom
  553. SpecialMesh24.Parent = Part23
  554. SpecialMesh24.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  555. SpecialMesh24.Scale = Vector3.new(0.100000001, 3, 0.600000024)
  556. SpecialMesh24.MeshType = Enum.MeshType.FileMesh
  557. Part25.Name = "h"
  558. Part25.Parent = Model0
  559. Part25.CFrame = CFrame.new(-26.262001, 18.9929867, 7.11399937, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  560. Part25.Position = Vector3.new(-26.262001, 18.9929867, 7.11399937)
  561. Part25.Transparency = 1
  562. Part25.Size = Vector3.new(2, 1, 1)
  563. Part25.BottomSurface = Enum.SurfaceType.Smooth
  564. Part25.CanCollide = false
  565. Part25.TopSurface = Enum.SurfaceType.Smooth
  566. SpecialMesh26.Parent = Part25
  567. SpecialMesh26.Scale = Vector3.new(1.25, 1.25, 1.25)
  568. Part27.Name = "MeshPart"
  569. Part27.Parent = Part25
  570. Part27.CFrame = CFrame.new(-26.2299995, 18.9329872, 7.21000004, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  571. Part27.Position = Vector3.new(-26.2299995, 18.9329872, 7.21000004)
  572. Part27.Color = Color3.new(0.596078, 0.760784, 0.858824)
  573. Part27.Size = Vector3.new(2.39700007, 2.48600006, 1.70700002)
  574. Part27.BottomSurface = Enum.SurfaceType.Smooth
  575. Part27.BrickColor = BrickColor.new("Baby blue")
  576. Part27.Material = Enum.Material.Sand
  577. Part27.TopSurface = Enum.SurfaceType.Smooth
  578. Part27.brickColor = BrickColor.new("Baby blue")
  579. SpecialMesh28.Parent = Part27
  580. SpecialMesh28.MeshId = "http://www.roblox.com/asset/?id=398987591"
  581. SpecialMesh28.MeshType = Enum.MeshType.FileMesh
  582. Weld29.Name = "BTWeld"
  583. Weld29.Parent = Part27
  584. Weld29.C1 = CFrame.new(0.0320014954, -0.0599999428, 0.0960006714, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  585. Weld29.Part0 = Part27
  586. Weld29.Part1 = Part25
  587. Weld29.part1 = Part25
  588. Weld30.Name = "BTWeld"
  589. Weld30.Parent = Part27
  590. Weld30.C1 = CFrame.new(0, -0.25, -0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  591. Weld30.Part0 = Part27
  592. Weld30.Part1 = Part31
  593. Weld30.part1 = Part31
  594. Part31.Name = "MeshPart"
  595. Part31.Parent = Part25
  596. Part31.CFrame = CFrame.new(-26.2299995, 19.1829872, 7.71000004, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  597. Part31.Position = Vector3.new(-26.2299995, 19.1829872, 7.71000004)
  598. Part31.Color = Color3.new(0.431373, 0.6, 0.792157)
  599. Part31.Size = Vector3.new(2.39700007, 2.48600006, 1.70700002)
  600. Part31.BottomSurface = Enum.SurfaceType.Smooth
  601. Part31.BrickColor = BrickColor.new("Medium blue")
  602. Part31.Material = Enum.Material.Sand
  603. Part31.TopSurface = Enum.SurfaceType.Smooth
  604. Part31.brickColor = BrickColor.new("Medium blue")
  605. SpecialMesh32.Parent = Part31
  606. SpecialMesh32.MeshId = "rbxassetid://3910639768"
  607. SpecialMesh32.MeshType = Enum.MeshType.FileMesh
  608. local chrmod = script.chrmod
  609. chrmod.Parent = chr
  610. create("Weld",{
  611. Parent = torso,
  612. Part0 = torso,
  613. Part1 = chrmod.t
  614. })
  615. create("Weld",{
  616. Parent = head,
  617. Part0 = head,
  618. Part1 = chrmod.h
  619. })
  620.  
  621. local wings = chrmod.t.wings
  622. local wingpieces = {wings.set1.a,wings.set1.b,wings.set1.c,wings.set2.a,wings.set2.b,wings.set2.c}
  623.  
  624. -- bgm
  625.  
  626. local bgmstarttime = tick()
  627. local bgm = create("Sound",{
  628. Parent = torso
  629. })
  630. local musicchoice = "rbxassetid://2908188242"
  631. torso.ChildRemoved:Connect(function(thing)
  632. if thing == bgm then
  633. bgm = create("Sound",{
  634. Parent = torso,
  635. })
  636. local _change = false
  637. bgm.Changed:Connect(function()
  638. if _change then return end
  639. _change = true
  640. change(bgm,{
  641. Name = "BGM",
  642. SoundId = musicchoice,
  643. Volume = 1.5,
  644. Pitch = 1,
  645. Looped = true,
  646. Playing = true,
  647. TimePosition = tick()-bgmstarttime,
  648. })
  649. bgm.SoundGroup = nil
  650. _change = false
  651. end)
  652. bgm.Ended:Connect(function()
  653. bgmstarttime = tick()
  654. bgm.Name = "cmon play"
  655. end)
  656. bgm.Name = "cmon play"
  657. end
  658. end)
  659. bgm:Destroy()
  660.  
  661. -- hb
  662.  
  663. local hb = create("BindableEvent",{
  664. Parent = script,
  665. Name = "ArtificialHB"
  666. })
  667.  
  668. local frame = 1/60
  669. local tf = 0
  670. local allowframeloss = false
  671. local tossremainder = false
  672. local lastframe = tick()
  673. hb:Fire()
  674. game:GetService("RunService").Heartbeat:connect(function(s, p)
  675. tf = tf + s
  676. if tf >= frame then
  677. if allowframeloss then
  678. hb:Fire()
  679. lastframe = tick()
  680. else
  681. for i = 1, math.floor(tf / frame) do
  682. hb:Fire()
  683. end
  684. lastframe = tick()
  685. end
  686. if tossremainder then
  687. tf = 0
  688. else
  689. tf = tf - frame * math.floor(tf / frame)
  690. end
  691. end
  692. end)
  693. function swait(j)
  694. if j == 0 or j == nil then
  695. for i = 1, 2 do
  696. hb.Event:wait()
  697. end
  698. else
  699. for i = 1, j do
  700. hb.Event:wait()
  701. end
  702. end
  703. end
  704.  
  705. -- attacks
  706.  
  707. function damage(humanoid, dmg)
  708. if humanoid:FindFirstAncestor(plr.Name) then return end
  709. local ff = humanoid.Parent:FindFirstChildOfClass("ForceField")
  710. if ff then ff:Destroy() end
  711. humanoid.MaxHealth = 100
  712. if humanoid.Health > 100 then humanoid.Health = 100 end
  713. humanoid:TakeDamage(dmg)
  714. end
  715.  
  716. function freezeballidk()
  717. if attack then return end
  718. attack = true
  719. delay(0.6,function()
  720. attack = false
  721. end)
  722. local gyro = create("BodyGyro",{
  723. Parent = hrp,
  724. MaxTorque = v3(0,400000,0),
  725. P = 32000,
  726. CFrame = cn(hrp.Position,v3(mouse.Hit.p.X,hrp.Position.Y,mouse.Hit.p.Z))
  727. })
  728. local orb = create("Part",{
  729. Parent = fx,
  730. Material = Enum.Material.Ice,
  731. BrickColor = BrickColor.new("Light blue"),
  732. Shape = Enum.PartType.Ball,
  733. Anchored = true,
  734. CanCollide = false,
  735. CFrame = torso.CFrame * cn(0,0,-3),
  736. Size = v3()
  737. })
  738. tween(orb,{Size=v3(2.5,2.5,2.5)},0.6,Enum.EasingDirection.Out)
  739. local count = 0
  740. local release = false
  741. local exist = true
  742. spawn(function()
  743. repeat
  744. local particle = create("Part",{
  745. Parent = fx,
  746. Anchored = true,
  747. CanCollide = false,
  748. Material = Enum.Material.Ice,
  749. BrickColor = BrickColor.new("Light blue"),
  750. Size = v3(3,3,3),
  751. CFrame = orb.CFrame * ca(rad(random(0,360)),rad(random(0,360)),rad(random(0,360))),
  752. Transparency = 0.6
  753. })
  754. local dur = random(3,5)/8
  755. tween(particle,{Size=v3(),Orientation=v3(random(0,360),random(0,360),random(0,360)),Transparency=1},dur,Enum.EasingDirection.In)
  756. debris(particle,dur)
  757. swait()
  758. until not exist
  759. end)
  760. repeat
  761. laweld.C0 = laweld.C0:Lerp(lac0*cn(0.0059967041,0.25,-0.990997314)*ca(0,rad(7.5),0)*ca(rad(90),0,0),animspeed)
  762. raweld.C0 = raweld.C0:Lerp(rac0*cn(-0.0059967041,0.25,-0.990997314)*ca(0,rad(7.5),0)*ca(rad(90),0,0),animspeed)
  763. llweld.C0 = llweld.C0:Lerp(llc0*cn(0,0.64199996,-0.580001831-sin(nowhy/8)/5)*ca(rad(-12+sin(nowhy/8)*16),0,0),animspeed)
  764. rlweld.C0 = rlweld.C0:Lerp(rlc0*cn(0,0,-sin(nowhy/8)/5)*ca(rad(sin(nowhy/8)*16),0,0),animspeed)
  765. headweld.C0 = headweld.C0:Lerp(hc0*cn(0,-0.0149998665,-0.124000549)*ca(rad(-14),0,0),animspeed)
  766. torsoweld.C0 = torsoweld.C0:Lerp(cn(0,3+cos(nowhy/8)/1.2,-cos(nowhy/8)/4)*ca(rad(sin(nowhy/8)*7.5),0,0),animspeed)
  767. gyro.CFrame = cn(hrp.Position,v3(mouse.Hit.p.X,hrp.Position.Y,mouse.Hit.p.Z))
  768. orb.CFrame = orb.CFrame:Lerp(torso.CFrame*cn(0,0,-3),animspeed*2)
  769. swait()
  770. until not attack
  771. release = true
  772. gyro:Destroy()
  773. spawn(function()
  774. repeat
  775. if release then
  776. count = count + 1
  777. local hit, pos = raycast(orb.Position,cn(orb.Position,mouse.Hit.p).LookVector,2,chr)
  778. if hit then
  779. exist = false
  780. else
  781. orb.CFrame = cn(orb.Position,mouse.Hit.p) * cn(0,0,-2)
  782. end
  783. end
  784. swait()
  785. until count > 100 or not exist
  786. orb:Destroy()
  787. exist = false
  788. local hitbox = create("Part",{
  789. Parent = fx,
  790. Anchored = true,
  791. CanCollide = false,
  792. Transparency = 1,
  793. Size = v3(14,14,14),
  794. Shape = Enum.PartType.Ball,
  795. Position = orb.Position
  796. })
  797. for i = 1, 2 do
  798. local poof = create("Part",{
  799. Parent = fx,
  800. Anchored = true,
  801. CanCollide = false,
  802. BrickColor = BrickColor.new("Light blue"),
  803. Material = Enum.Material.Ice,
  804. Transparency = 0.25,
  805. Size = v3(14,14,14),
  806. CFrame = orb.CFrame * ca(rad(random(0,360)),rad(random(0,360)),rad(random(0,360)))
  807. })
  808. tween(poof,{Size=v3(),Orientation=v3(random(0,360),random(0,360),random(0,360)),Transparency=1},1.25,Enum.EasingDirection.Out)
  809. debris(poof,1.25)
  810. end
  811. hitbox.Touched:Connect(function()end)
  812. playsound(633759810,hitbox,2)
  813. for i, v in pairs(hitbox:GetTouchingParts()) do
  814. if v:FindFirstAncestor(plr.Name) == nil then
  815. local _hum = v.Parent:FindFirstChildOfClass("Humanoid")
  816. if _hum then
  817. if _hum.Parent:FindFirstChild("frozen") == nil then
  818. debris(create("BoolValue",{
  819. Parent = _hum.Parent,
  820. Name = "frozen"
  821. }),2)
  822. local root = _hum.Parent:FindFirstChild("HumanoidRootPart") or _hum.Parent:FindFirstChild("Torso") or _hum.Parent:FindFirstChild("UpperTorso")
  823. root.Anchored = true
  824. local ice = create("Part",{
  825. Parent = fx,
  826. Anchored = true,
  827. Material = Enum.Material.Ice,
  828. BrickColor = BrickColor.new("Light blue"),
  829. CFrame = root.CFrame * ca(0,rad(random(0,360)),0),
  830. Size = v3(5,7,5),
  831. Transparency = 0.4
  832. })
  833. delay(2, function()
  834. root.Anchored = false
  835. ice.Transparency = 1
  836. playsound(5859341051,ice,2)
  837. damage(_hum,random(30,40))
  838. local yes = {cn(1.25,1.75,1.25),cn(-1.25,1.75,1.25),cn(-1.25,1.75,-1.25),cn(1.25,1.75,-1.25),cn(1.25,-1.75,1.25),cn(-1.25,-1.75,1.25),cn(-1.25,-1.75,-1.25),cn(1.25,-1.75,-1.25)}
  839. for e, p in pairs(yes) do
  840. local h = create("Part",{
  841. Parent = fx,
  842. CanCollide = false,
  843. Material = Enum.Material.Ice,
  844. BrickColor = BrickColor.new("Light blue"),
  845. CFrame = ice.CFrame * p,
  846. Size = v3(2.5,3.5,2.5),
  847. Transparency = 0.4,
  848. Velocity = v3(random(-40,40),random(15,45),random(-40,40)),
  849. RotVelocity = v3(random(-25,25),random(-25,25),random(-25,25))
  850. })
  851. debris(h,random(4,6)/5)
  852. end
  853. debris(ice,2)
  854. end)
  855. end
  856. end
  857. end
  858. end
  859. debris(hitbox,2)
  860. end)
  861. end
  862.  
  863. function detachmywingsouchouchmywingsaregone()
  864. if attack then return end
  865. attack = true
  866. hum.WalkSpeed = 0
  867. spawn(function()
  868. repeat
  869. laweld.C0 = laweld.C0:Lerp(lac0*cn(-0.150001526,0.193000078+sin(nowhy/8)/7.5,-0.376998901)*ca(rad(27.1+sin(nowhy/8)*10),-rad(15.77),-rad(35.33)),animspeed)
  870. raweld.C0 = raweld.C0:Lerp(rac0*cn(0.150001526,0.193000078+sin(nowhy/8)/7.5,-0.376998901)*ca(rad(27.1+sin(nowhy/8)*10),rad(15.77),rad(35.33)),animspeed)
  871. llweld.C0 = llweld.C0:Lerp(llc0*cn(0,0.64199996,-0.580001831-sin(nowhy/8)/5)*ca(rad(-12+sin(nowhy/8)*16),0,0),animspeed)
  872. rlweld.C0 = rlweld.C0:Lerp(rlc0*cn(0,0,-sin(nowhy/8)/5)*ca(rad(sin(nowhy/8)*16),0,0),animspeed)
  873. headweld.C0 = headweld.C0:Lerp(hc0*cn(0,-0.0149998665,-0.124000549)*ca(rad(-14),0,0),animspeed)
  874. torsoweld.C0 = torsoweld.C0:Lerp(cn(0,3+cos(nowhy/8)/1.2,-cos(nowhy/8)/4)*ca(rad(sin(nowhy/8)*7.5),0,0),animspeed)
  875. swait()
  876. until not attack
  877. end)
  878. for i, v in pairs(wingpieces) do
  879. spawn(function()
  880. v.Transparency = 1
  881. delay(0.6,function()
  882. v.Transparency = 0
  883. end)
  884. local wing = create("Part",{
  885. Parent = fx,
  886. Anchored = true,
  887. CanCollide = false,
  888. BrickColor = BrickColor.new("Pastel blue-green"),
  889. Reflectance = 0.5,
  890. Size = v3(0.6, 0.6, 3.6),
  891. CFrame = v.CFrame
  892. })
  893. create("SpecialMesh",{
  894. Parent = wing,
  895. MeshType = Enum.MeshType.FileMesh,
  896. MeshId = "http://www.roblox.com/Asset/?id=9756362",
  897. Scale = v3(0.1, 0.6, 3)
  898. })
  899. tween(wing,{CFrame=wing.CFrame*cn(random(-2,2),random(-2,2),random(-2,2))*ca(rad(random(0,360)),rad(random(0,360)),rad(random(0,360)))},0.15,Enum.EasingDirection.Out)
  900. wait(0.15)
  901. tween(wing,{CFrame=cn(wing.Position,mouse.Hit.p)},0.2,Enum.EasingDirection.Out)
  902. wait(0.2)
  903. spawn(function()
  904. local count = 0
  905. local exist = true
  906. repeat
  907. count = count + 1
  908. local hit, pos = raycast(wing.Position,wing.CFrame.LookVector,10,chr)
  909. if hit then
  910. exist = false
  911. local _hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  912. if _hum then
  913. local dmg = random(10,20)
  914. if hit.Name == "Head" then dmg = dmg*2 end
  915. damage(_hum,dmg)
  916. local soundpart = create("Part",{
  917. Parent = fx,
  918. Anchored = true,
  919. CanCollide = false,
  920. Size = v3(0.1,0.1,0.1),
  921. Transparency = 1,
  922. Position = pos,
  923. })
  924. local particles = create("ParticleEmitter",{
  925. Parent = soundpart,
  926. Color = cseq{cseqk(0,c3(120,0,0)),cseqk(1,c3(120,0,0))},
  927. Size = nseq{nseqk(0,1.25),nseqk(1,3.69)},
  928. Texture = "rbxasset://textures/particles/smoke_main.dds",
  929. Transparency = nseq{nseqk(0,0),nseqk(1,1)},
  930. Acceleration = v3(0,-30,0),
  931. Drag = 7,
  932. Enabled = false,
  933. Lifetime = NumberRange.new(1,2),
  934. Rotation = NumberRange.new(0,360),
  935. RotSpeed = NumberRange.new(-180,180),
  936. Speed = NumberRange.new(15,25),
  937. SpreadAngle = Vector2.new(45,45)
  938. })
  939. particles:Emit(10)
  940. playsound(255661850,soundpart,1)
  941. debris(soundpart,2)
  942. end
  943. wing:Destroy()
  944. else
  945. wing.CFrame = wing.CFrame * cn(0,0,-10)
  946. end
  947. swait()
  948. until count > 50 or not exist
  949. end)
  950. end)
  951. wait(0.25)
  952. end
  953. hum.WalkSpeed = 45
  954. attack = false
  955. end
  956.  
  957. function doicespikelineidk()
  958. if attack then return end
  959. attack = true
  960. hum.WalkSpeed = 8
  961. local gyro = create("BodyGyro",{
  962. Parent = hrp,
  963. MaxTorque = v3(0,400000,0),
  964. P = 32000,
  965. CFrame = cn(hrp.Position,v3(mouse.Hit.p.X,hrp.Position.Y,mouse.Hit.p.Z))
  966. })
  967. delay(0.1,function()
  968. local start = hrp.CFrame
  969. for i = 1, 28 do
  970. spawn(function()
  971. local startpoint = start * cn(0,-3,-3*i-3)
  972. local sizemultiplier = random(5,8)/6
  973. local part = create("CornerWedgePart",{
  974. Parent = fx,
  975. Anchored = true,
  976. CanCollide = false,
  977. Material = Enum.Material.Ice,
  978. BrickColor = BrickColor.new("Light blue"),
  979. Size = v3(4,12,4)*sizemultiplier,
  980. CFrame = startpoint * ca(rad(random(-30,30)),0,rad(random(-30,30))) * ca(0,rad(random(0,360)),0) * cn(0,-6*sizemultiplier,0)
  981. })
  982. playsound(5752235534,part,0.5)
  983. debris(part,3)
  984. part.Touched:Connect(function()end)
  985. local ea = part.CFrame
  986. tween(part,{CFrame=part.CFrame*cn(0,11*sizemultiplier,0)},0.25,Enum.EasingDirection.In)
  987. delay(0.25,function()
  988. for e, v in pairs(part:GetTouchingParts()) do
  989. if v:FindFirstAncestor(plr.Name) == nil then
  990. local _hum = v.Parent:FindFirstChildOfClass("Humanoid")
  991. if _hum then
  992. damage(_hum,20)
  993. end
  994. end
  995. end
  996. end)
  997. wait(0.45)
  998. tween(part,{CFrame=ea},0.35,Enum.EasingDirection.In)
  999. wait(0.35)
  1000. part:Destroy()
  1001. end)
  1002. wait(0.02)
  1003. end
  1004. end)
  1005. for i = 1, 3, 0.3 do
  1006. laweld.C0 = laweld.C0:Lerp(lac0*cn(-0.137001038,0.184999943,-0.522003174)*ca(rad(45),0,rad(-30)),animspeed)
  1007. raweld.C0 = raweld.C0:Lerp(rac0*cn(0.102996826,-0.0399999619,0.32900238)*ca(0,rad(8.66),0)*ca(rad(-30.7),0,rad(3.12)),animspeed)
  1008. llweld.C0 = llweld.C0:Lerp(llc0*cn(0,0.64199996,-0.580001831-sin(nowhy/8)/5)*ca(rad(-12+sin(nowhy/8)*16),0,0),animspeed)
  1009. rlweld.C0 = rlweld.C0:Lerp(rlc0*cn(0,0,-sin(nowhy/8)/5)*ca(rad(sin(nowhy/8)*16),0,0),animspeed)
  1010. headweld.C0 = headweld.C0:Lerp(hc0*cn(0,-0.0149998665,-0.124000549)*ca(rad(-14),rad(30),0),animspeed)
  1011. torsoweld.C0 = torsoweld.C0:Lerp(cn(0,3+cos(nowhy/8)/1.2,-cos(nowhy/8)/4)*ca(rad(sin(nowhy/8)*7.5),rad(-30),0),animspeed)
  1012. gyro.CFrame = cn(hrp.Position,v3(mouse.Hit.p.X,hrp.Position.Y,mouse.Hit.p.Z))
  1013. swait()
  1014. end
  1015. for i = 1, 3, 0.6 do
  1016. laweld.C0 = laweld.C0:Lerp(lac0*cn(-0.250999451,0.224999905,0.601997375)*ca(0,rad(35.33),0)*ca(rad(-30.99),0,rad(-46.86)),animspeed*1.5)
  1017. raweld.C0 = raweld.C0:Lerp(rac0*cn(-0.016998291,0.792000055,-0.972999573)*ca(0,rad(147.65),0)*ca(rad(22.12),0,rad(157.94)),animspeed*1.5)
  1018. llweld.C0 = llweld.C0:Lerp(llc0*cn(0,0.64199996,-0.580001831-sin(nowhy/8)/5)*ca(rad(-12+sin(nowhy/8)*16),0,0),animspeed*1.5)
  1019. rlweld.C0 = rlweld.C0:Lerp(rlc0*cn(0,0,-sin(nowhy/8)/5)*ca(rad(sin(nowhy/8)*16),0,0),animspeed*1.5)
  1020. headweld.C0 = headweld.C0:Lerp(hc0*cn(0,-0.0149998665,-0.124000549)*ca(rad(-14),rad(-30),0),animspeed*1.5)
  1021. torsoweld.C0 = torsoweld.C0:Lerp(cn(0,3+cos(nowhy/8)/1.2,-cos(nowhy/8)/4)*ca(rad(sin(nowhy/8)*7.5),rad(30),0),animspeed*1.5)
  1022. gyro.CFrame = cn(hrp.Position,v3(mouse.Hit.p.X,hrp.Position.Y,mouse.Hit.p.Z))
  1023. swait()
  1024. end
  1025. gyro:Destroy()
  1026. hum.WalkSpeed = 45
  1027. attack = false
  1028. end
  1029.  
  1030. function icepew()
  1031. if attack then return end
  1032. attack = true
  1033. delay(0.3,function()
  1034. playsound(4580495407,torso,3)
  1035. end)
  1036. for i = 1, 5, 0.3 do
  1037. local _start = rarm.CFrame * cn(0,-1,0)
  1038. laweld.C0 = laweld.C0:Lerp(lac0*cn(-0.150001526,0.193000078+sin(nowhy/8)/7.5,-0.376998901)*ca(rad(27.1+sin(nowhy/8)*10),-rad(15.77),-rad(35.33)),animspeed)
  1039. raweld.C0 = raweld.C0:Lerp(rac0*cn(-0.0159988403,0.401000023,-0.981002808)*ca(0,rad(88.96),0)*ca(rad(-16.7),0,rad(66.66)),animspeed)
  1040. llweld.C0 = llweld.C0:Lerp(llc0*cn(0,0.64199996,-0.580001831-sin(nowhy/8)/5)*ca(rad(-12+sin(nowhy/8)*16),0,0),animspeed)
  1041. rlweld.C0 = rlweld.C0:Lerp(rlc0*cn(0,0,-sin(nowhy/8)/5)*ca(rad(sin(nowhy/8)*16),0,0),animspeed)
  1042. headweld.C0 = headweld.C0:Lerp(hc0*cn(0,-0.0149998665,-0.124000549)*ca(rad(-14),0,0),animspeed)
  1043. torsoweld.C0 = torsoweld.C0:Lerp(cn(0,3+cos(nowhy/8)/1.2,-cos(nowhy/8)/4)*ca(rad(sin(nowhy/8)*7.5),0,0),animspeed)
  1044. local poof = create("Part",{
  1045. Parent = fx,
  1046. Anchored = true,
  1047. CanCollide = false,
  1048. BrickColor = BrickColor.new("Light blue"),
  1049. Material = Enum.Material.Ice,
  1050. Transparency = 0.25,
  1051. Size = v3(2.5,2.5,2.5),
  1052. CFrame = _start * ca(rad(random(0,360)),rad(random(0,360)),rad(random(0,360)))
  1053. })
  1054. tween(poof,{Size=v3(),Orientation=v3(random(0,360),random(0,360),random(0,360)),Transparency=1},0.5,Enum.EasingDirection.Out)
  1055. debris(poof,1.5)
  1056. local part2 = create("Part",{
  1057. Parent = fx,
  1058. Anchored = true,
  1059. CanCollide = false,
  1060. BrickColor = BrickColor.new("Light blue"),
  1061. Material = Enum.Material.Ice,
  1062. Transparency = 0.5,
  1063. Size = v3(1.5,1.5,1.5),
  1064. CFrame = _start * cn(random(-3,3),random(-3,3),random(-3,3)) * ca(rad(random(0,360)),rad(random(0,360)),rad(random(0,360)))
  1065. })
  1066. tween(part2,{Size=v3(),Transparency=1,CFrame=_start*ca(rad(random(0,360)),rad(random(0,360)),rad(random(0,360)))},0.2,Enum.EasingDirection.In)
  1067. debris(part2,0.2)
  1068. swait()
  1069. end
  1070. local start = (rarm.CFrame * cn(0,-1,0)).p
  1071. local hit, hitpos, surface = raycast(start,cn(start,mouse.Hit.p).LookVector,2048,chr)
  1072. if hit then
  1073. local length = (start-hitpos).Magnitude
  1074. local beam = create("Part",{
  1075. Parent = fx,
  1076. Anchored = true,
  1077. CanCollide = false,
  1078. Size = v3(0.5,0.5,length),
  1079. Material = Enum.Material.Ice,
  1080. BrickColor = BrickColor.new("Light blue"),
  1081. Position = start,
  1082. CFrame = cn(start,hitpos)
  1083. })
  1084. beam.CFrame = beam.CFrame * cn(0,0,-length/2)
  1085. tween(beam,{Size=v3(0.5,0.5,0),CFrame=beam.CFrame*cn(0,0,-length/2)},0.15,Enum.EasingDirection.Out,Enum.EasingStyle.Linear)
  1086. debris(beam,0.15)
  1087. local part = create("Part",{
  1088. Parent = fx,
  1089. Anchored = true,
  1090. Position = hitpos,
  1091. CFrame = cn(hitpos, hitpos + surface) * ca(0,rad(90),0),
  1092. Material = Enum.Material.Ice,
  1093. BrickColor = BrickColor.new("Light blue"),
  1094. Shape = Enum.PartType.Cylinder,
  1095. Size = v3(0.1,0,0)
  1096. })
  1097. playsound(268249319,part,3)
  1098. part.Touched:Connect(function(p)
  1099. local _hum = p.Parent:FindFirstChildOfClass("Humanoid")
  1100. if _hum then
  1101. damage(_hum,15)
  1102. end
  1103. end)
  1104. part.CustomPhysicalProperties = PhysicalProperties.new(0.919,0,0.15,100,1)
  1105. tween(part,{Size=v3(0.1,25,25)},4,Enum.EasingDirection.Out)
  1106. delay(7,function()
  1107. tween(part,{Size=v3(0.1,22,22),Transparency=1},0.7,Enum.EasingDirection.In)
  1108. debris(part,0.7)
  1109. end)
  1110. end
  1111. attack = false
  1112. end
  1113.  
  1114. function iceshards2idk()
  1115. if attack then return end
  1116. attack = true
  1117. local gyro = create("BodyGyro",{
  1118. Parent = hrp,
  1119. MaxTorque = v3(0,400000,0),
  1120. P = 32000,
  1121. CFrame = cn(hrp.Position,v3(mouse.Hit.p.X,hrp.Position.Y,mouse.Hit.p.Z))
  1122. })
  1123. spawn(function()
  1124. repeat
  1125. laweld.C0 = laweld.C0:Lerp(lac0*cn(0.0059967041,0.25,-0.990997314)*ca(0,rad(7.5),0)*ca(rad(90),0,0),animspeed)
  1126. raweld.C0 = raweld.C0:Lerp(rac0*cn(-0.0059967041,0.25,-0.990997314)*ca(0,rad(7.5),0)*ca(rad(90),0,0),animspeed)
  1127. llweld.C0 = llweld.C0:Lerp(llc0*cn(0,0.64199996,-0.580001831-sin(nowhy/8)/5)*ca(rad(-12+sin(nowhy/8)*16),0,0),animspeed)
  1128. rlweld.C0 = rlweld.C0:Lerp(rlc0*cn(0,0,-sin(nowhy/8)/5)*ca(rad(sin(nowhy/8)*16),0,0),animspeed)
  1129. headweld.C0 = headweld.C0:Lerp(hc0*cn(0,-0.0149998665,-0.124000549)*ca(rad(-14),0,0),animspeed)
  1130. torsoweld.C0 = torsoweld.C0:Lerp(cn(0,3+cos(nowhy/8)/1.2,-cos(nowhy/8)/4)*ca(rad(sin(nowhy/8)*7.5),0,0),animspeed)
  1131. gyro.CFrame = cn(hrp.Position,v3(mouse.Hit.p.X,hrp.Position.Y,mouse.Hit.p.Z))
  1132. local poof = create("Part",{
  1133. Parent = fx,
  1134. Anchored = true,
  1135. CanCollide = false,
  1136. BrickColor = BrickColor.new("Light blue"),
  1137. Material = Enum.Material.Ice,
  1138. Transparency = 0.25,
  1139. Size = v3(1.5,1.5,1.5),
  1140. CFrame = torso.CFrame*cn(0,0,-4) * ca(rad(random(0,360)),rad(random(0,360)),rad(random(0,360)))
  1141. })
  1142. tween(poof,{Size=v3(),Orientation=v3(random(0,360),random(0,360),random(0,360)),Transparency=1},0.5,Enum.EasingDirection.Out)
  1143. debris(poof,1.5)
  1144. swait()
  1145. until not attack
  1146. gyro:Destroy()
  1147. end)
  1148. for i = 1, 3 do
  1149. local start = (torso.CFrame*cn(0,0,-5)).p
  1150. local wing = create("Part",{
  1151. Parent = fx,
  1152. Anchored = true,
  1153. CanCollide = false,
  1154. BrickColor = BrickColor.new("Pastel blue-green"),
  1155. Reflectance = 0.5,
  1156. Size = v3(0.6, 0.6, 3.6),
  1157. Position = start,
  1158. CFrame = cn(start,mouse.Hit.p)
  1159. })
  1160. create("SpecialMesh",{
  1161. Parent = wing,
  1162. MeshType = Enum.MeshType.FileMesh,
  1163. MeshId = "http://www.roblox.com/Asset/?id=9756362",
  1164. Scale = v3(0.1, 0.6, 3)
  1165. })
  1166. spawn(function()
  1167. local count = 0
  1168. local exist = true
  1169. repeat
  1170. count = count + 1
  1171. local hit, pos = raycast(wing.Position,wing.CFrame.LookVector,10,chr)
  1172. if hit then
  1173. exist = false
  1174. local _hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  1175. if _hum then
  1176. local dmg = random(10,20)
  1177. if hit.Name == "Head" then dmg = dmg*2 end
  1178. damage(_hum,dmg)
  1179. local soundpart = create("Part",{
  1180. Parent = fx,
  1181. Anchored = true,
  1182. CanCollide = false,
  1183. Size = v3(0.1,0.1,0.1),
  1184. Transparency = 1,
  1185. Position = pos,
  1186. })
  1187. local particles = create("ParticleEmitter",{
  1188. Parent = soundpart,
  1189. Color = cseq{cseqk(0,c3(120,0,0)),cseqk(1,c3(120,0,0))},
  1190. Size = nseq{nseqk(0,1.25),nseqk(1,3.69)},
  1191. Texture = "rbxasset://textures/particles/smoke_main.dds",
  1192. Transparency = nseq{nseqk(0,0),nseqk(1,1)},
  1193. Acceleration = v3(0,-30,0),
  1194. Drag = 7,
  1195. Enabled = false,
  1196. Lifetime = NumberRange.new(1,2),
  1197. Rotation = NumberRange.new(0,360),
  1198. RotSpeed = NumberRange.new(-180,180),
  1199. Speed = NumberRange.new(15,25),
  1200. SpreadAngle = Vector2.new(45,45)
  1201. })
  1202. particles:Emit(10)
  1203. playsound(255661850,soundpart,1)
  1204. debris(soundpart,2)
  1205. end
  1206. wing:Destroy()
  1207. else
  1208. wing.CFrame = wing.CFrame * cn(0,0,-10)
  1209. end
  1210. swait()
  1211. until count > 50 or not exist
  1212. end)
  1213. wait(0.25)
  1214. end
  1215. attack = false
  1216. end
  1217.  
  1218. local musicchoices = {"rbxassetid://2908188242","rbxassetid://2209318456"}
  1219. local musicnum = 1
  1220. function changemusic()
  1221. musicnum = musicnum + 1
  1222. if musicnum > #musicchoices then musicnum = 1 end
  1223. musicchoice = musicchoices[musicnum]
  1224. bgmstarttime = tick()
  1225. bgm.Name = "cmon play something else"
  1226. end
  1227.  
  1228. mouse.KeyDown:Connect(function(key)
  1229. if key == "z" then
  1230. freezeballidk()
  1231. elseif key == "x" then
  1232. detachmywingsouchouchmywingsaregone()
  1233. elseif key == "c" then
  1234. doicespikelineidk()
  1235. elseif key == "v" then
  1236. icepew()
  1237. elseif key == "b" then
  1238. iceshards2idk()
  1239. elseif key == "m" then
  1240. changemusic()
  1241. end
  1242. end)
  1243.  
  1244. -- movement animations
  1245.  
  1246. local wingweld1 = create("Weld",{
  1247. Parent = chrmod.t,
  1248. Part0 = chrmod.t,
  1249. Part1 = wings.set1.core,
  1250. C0 = cn(0,0,0.688)
  1251. })
  1252. local wingweld2 = create("Weld",{
  1253. Parent = chrmod.t,
  1254. Part0 = chrmod.t,
  1255. Part1 = wings.set2.core,
  1256. C0 = cn(0,0,0.688)
  1257. })
  1258. while true do
  1259. swait()
  1260. nowhy = nowhy + 1
  1261. local hitfloor = raycast(hrp.Position,cn(hrp.Position,hrp.Position+v3(0,-1,0)).LookVector,4,chr)
  1262. local velo = hrp.Velocity
  1263. local x,y,z = abs(velo.X),velo.Y,abs(velo.Z)
  1264. local b = cn(hrp.CFrame:VectorToObjectSpace(velo/1.6))
  1265. local tilt = {X=clamp(b.X,-28.128,28.128),Z=clamp(b.Z,-28.128,28.128)}
  1266. if not attack then
  1267. if hitfloor then
  1268. if x > 1 or z > 1 then
  1269. laweld.C0 = laweld.C0:lerp(lac0*cn(-tilt.X/66,0,-tilt.Z/33)*ca(rad(tilt.Z*2),0,-rad(tilt.X)),animspeed)
  1270. raweld.C0 = raweld.C0:lerp(rac0*cn(-tilt.X/66,0,-tilt.Z/33)*ca(rad(tilt.Z*2),0,-rad(tilt.X)),animspeed)
  1271. llweld.C0 = llweld.C0:Lerp(llc0*cn(-tilt.X/90,0.64199996,-0.580001831-tilt.Z/132)*ca(rad(tilt.Z*0.75),0,-rad(tilt.X/2)),animspeed)
  1272. rlweld.C0 = rlweld.C0:Lerp(rlc0*cn(-tilt.X/90,0.25,-tilt.Z/132)*ca(rad(tilt.Z*0.75),0,-rad(tilt.X/2)),animspeed)
  1273. torsoweld.C0 = torsoweld.C0:Lerp(cn(0,3+cos(nowhy/8)/1.2,0)*ca(rad(tilt.Z*1.5),0,-rad(tilt.X/1.5)),animspeed)
  1274. headweld.C0 = headweld.C0:Lerp(hc0*cn(0,-abs(-tilt.Z/150),-tilt.Z/80)*ca(-rad(tilt.Z*1.5),-rad(tilt.X*1.5),0),animspeed)
  1275. else
  1276. laweld.C0 = laweld.C0:Lerp(lac0*cn(-0.150001526,0.193000078+sin(nowhy/8)/7.5,-0.376998901)*ca(rad(27.1+sin(nowhy/8)*10),-rad(15.77),-rad(35.33)),animspeed)
  1277. raweld.C0 = raweld.C0:Lerp(rac0*cn(0.150001526,0.193000078+sin(nowhy/8)/7.5,-0.376998901)*ca(rad(27.1+sin(nowhy/8)*10),rad(15.77),rad(35.33)),animspeed)
  1278. llweld.C0 = llweld.C0:Lerp(llc0*cn(0,0.64199996,-0.580001831-sin(nowhy/8)/5)*ca(rad(-12+sin(nowhy/8)*16),0,0),animspeed)
  1279. rlweld.C0 = rlweld.C0:Lerp(rlc0*cn(0,0,-sin(nowhy/8)/5)*ca(rad(sin(nowhy/8)*16),0,0),animspeed)
  1280. headweld.C0 = headweld.C0:Lerp(hc0*cn(0,-0.0149998665,-0.124000549)*ca(rad(-14),0,0),animspeed)
  1281. torsoweld.C0 = torsoweld.C0:Lerp(cn(0,3+cos(nowhy/8)/1.2,-cos(nowhy/8)/4)*ca(rad(sin(nowhy/8)*7.5),0,0),animspeed)
  1282. end
  1283. else
  1284. if y > 1 then
  1285. laweld.C0 = laweld.C0:Lerp(lac0*cn(-0.341999054,-0.0920000076,0)*ca(0,0,rad(-30)),animspeed)
  1286. raweld.C0 = raweld.C0:Lerp(rac0*cn(0.341999054,-0.0920000076,0)*ca(0,0,rad(30)),animspeed)
  1287. llweld.C0 = llweld.C0:Lerp(llc0*cn(0,0.368999958,-0.314998627)*ca(rad(-15),0,0),animspeed)
  1288. rlweld.C0 = rlweld.C0:Lerp(rlc0,animspeed)
  1289. torsoweld.C0 = torsoweld.C0:Lerp(cn(0,3,0)*ca(rad(10),0,0),animspeed)
  1290. headweld.C0 = headweld.C0:Lerp(hc0,animspeed)
  1291. elseif y < -1 then
  1292. laweld.C0 = laweld.C0:Lerp(lac0*cn(-0.404000092,0.59800005,0)*ca(0,0,rad(-100)),animspeed)
  1293. raweld.C0 = raweld.C0:Lerp(rac0*cn(0.404000092,0.59800005,0)*ca(0,0,rad(100)),animspeed)
  1294. llweld.C0 = llweld.C0:Lerp(llc0*cn(-0.15,0.368999958,-0.314998627)*ca(rad(-15),0,rad(-8)),animspeed)
  1295. rlweld.C0 = rlweld.C0:Lerp(rlc0*cn(0.15,0,0)*ca(0,0,rad(8)),animspeed)
  1296. torsoweld.C0 = torsoweld.C0:Lerp(cn(0,3,0)*ca(rad(-25),0,0),animspeed)
  1297. headweld.C0 = headweld.C0:Lerp(hc0,animspeed)
  1298. end
  1299. end
  1300. end
  1301. wingweld1.C0 = wingweld1.C0:Lerp(cn(0,0,0.688)*ca(0,rad(-25+sin(nowhy/8)*16),0),animspeed)
  1302. wingweld2.C0 = wingweld2.C0:Lerp(cn(0,0,0.688)*ca(0,rad(25-sin(nowhy/8)*16),0),animspeed)
  1303. hum.Name = randomstring()
  1304. hum.PlatformStand = false
  1305. if chr:FindFirstChildOfClass("ForceField") == nil then
  1306. create("ForceField",{
  1307. Parent = chr,
  1308. Visible = false,
  1309. Name = randomstring()
  1310. })
  1311. end
  1312. hum.MaxHealth = 9999
  1313. hum.Health = 9999
  1314. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement