SHOW:
|
|
- or go back to the newest paste.
1 | - | ---------------------------------------------------------------- |
1 | + | -- This script has been converted to FE by Guest_EXD |
2 | - | --------------------------Noob Script-------------------------- |
2 | + | |
3 | - | ---------------------------------------------------------------- |
3 | + | |
4 | - | print([[ |
4 | + | |
5 | - | --made by henriquegame2015 |
5 | + | local Player,Mouse,mouse,UserInputService,ContextActionService = owner |
6 | - | --FE code by henry (henriquegame2015) |
6 | + | |
7 | print("FE Compatibility code by Mokiros | Translated to FE by Guest_EXD") | |
8 | - | -------------------------------- |
8 | + | script.Parent = Player.Character |
9 | - | you find rare script good |
9 | + | |
10 | - | dont leak... |
10 | + | |
11 | - | -------------------------------- |
11 | + | |
12 | - | ]]) |
12 | + | |
13 | ||
14 | --Fake event to make stuff like Mouse.KeyDown work | |
15 | - | local Player,game,owner = owner,game |
15 | + | |
16 | - | local RealPlayer = Player |
16 | + | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end} |
17 | t.connect = t.Connect | |
18 | - | local rp = RealPlayer |
18 | + | |
19 | - | script.Parent = rp.Character |
19 | + | |
20 | ||
21 | --Creating fake input objects with fake variables | |
22 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
23 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
24 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
25 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
26 | end} | |
27 | - | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end} |
27 | + | |
28 | CAS.UnbindAction = CAS.BindAction | |
29 | ||
30 | --This function will trigger the events that have been :Connect()'ed | |
31 | local function te(self,ev,...) | |
32 | local t = m[ev] | |
33 | if t and t._fakeEvent and t.Function then | |
34 | t.Function(...) | |
35 | end | |
36 | end | |
37 | m.TrigEvent = te | |
38 | UIS.TrigEvent = te | |
39 | ||
40 | Event.OnServerEvent:Connect(function(plr,io) | |
41 | if plr~=Player then return end | |
42 | if io.isMouse then | |
43 | m.Target = io.Target | |
44 | - | if t and t._fakeEvent then |
44 | + | m.Hit = io.Hit |
45 | - | for _,f in pairs(t.Functions) do |
45 | + | |
46 | - | f(...) |
46 | + | |
47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
49 | end | |
50 | for _,t in pairs(CAS.Actions) do | |
51 | for _,k in pairs(t.Keys) do | |
52 | if k==io.KeyCode then | |
53 | t.Function(t.Name,io.UserInputState,io) | |
54 | - | if plr~=rp then return end |
54 | + | |
55 | - | m.Target = io.Target |
55 | + | |
56 | - | m.Hit = io.Hit |
56 | + | |
57 | - | if not io.isMouse then |
57 | + | |
58 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
59 | end | |
60 | end) | |
61 | Event.Parent = NLS([==[ | |
62 | local Player = game:GetService("Players").LocalPlayer | |
63 | local Event = script:WaitForChild("UserInput_Event") | |
64 | ||
65 | local UIS = game:GetService("UserInputService") | |
66 | local input = function(io,a) | |
67 | if a then return end | |
68 | --Since InputObject is a client-side instance, we create and pass table instead | |
69 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}) | |
70 | end | |
71 | UIS.InputBegan:Connect(input) | |
72 | UIS.InputEnded:Connect(input) | |
73 | ||
74 | local Mouse = Player:GetMouse() | |
75 | local h,t | |
76 | --Give the server mouse data 30 times every second, but only if the values changed | |
77 | --If player is not moving their mouse, client won't fire events | |
78 | while wait(1/30) do | |
79 | if h~=Mouse.Hit or t~=Mouse.Target then | |
80 | h,t=Mouse.Hit,Mouse.Target | |
81 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
82 | - | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target}) |
82 | + | |
83 | end]==],Player.Character) | |
84 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
85 | end | |
86 | --Converted with ttyyuu12345's model to script plugin v4 | |
87 | function sandbox(var,func) | |
88 | local env = getfenv(func) | |
89 | local newenv = setmetatable({},{ | |
90 | __index = function(self,k) | |
91 | if k=="script" then | |
92 | return var | |
93 | else | |
94 | return env[k] | |
95 | end | |
96 | end, | |
97 | - | ----Sandboxed game object that allows the usage of client-side methods and services |
97 | + | |
98 | - | --Real game object |
98 | + | setfenv(func,newenv) |
99 | - | local _rg = game |
99 | + | return func |
100 | end | |
101 | - | --Metatable for fake service |
101 | + | cors = {} |
102 | - | local fsmt = { |
102 | + | mas = Instance.new("Model",game:GetService("Lighting")) |
103 | Model0 = Instance.new("Model") | |
104 | - | local s = rawget(self,"_RealService") |
104 | + | Humanoid1 = Instance.new("Humanoid") |
105 | - | if s then return s[k] end |
105 | + | Part2 = Instance.new("Part") |
106 | CylinderMesh3 = Instance.new("CylinderMesh") | |
107 | - | __newindex = function(self,k,v) |
107 | + | Part4 = Instance.new("Part") |
108 | - | local s = rawget(self,"_RealService") |
108 | + | CylinderMesh5 = Instance.new("CylinderMesh") |
109 | - | if s then s[k]=v end |
109 | + | Script6 = Instance.new("Script") |
110 | Model0.Name = " " | |
111 | - | __call = function(self,...) |
111 | + | Model0.Parent = mas |
112 | - | local s = rawget(self,"_RealService") |
112 | + | Humanoid1.Parent = Model0 |
113 | - | if s then return s(...) end |
113 | + | Humanoid1.Health = 0 |
114 | Humanoid1.MaxHealth = 0 | |
115 | - | } |
115 | + | Part2.Parent = Model0 |
116 | - | local function FakeService(t,RealService) |
116 | + | Part2.BrickColor = BrickColor.new("Dark stone grey") |
117 | - | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService |
117 | + | Part2.Reflectance = 0.5 |
118 | - | return setmetatable(t,fsmt) |
118 | + | Part2.Anchored = true |
119 | Part2.Size = Vector3.new(5, 1.20000005, 5) | |
120 | Part2.CFrame = CFrame.new(-26.8999996, 0.600005269, -16.4399662, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
121 | - | --Fake game object |
121 | + | Part2.Color = Color3.new(0.388235, 0.372549, 0.384314) |
122 | - | local g = { |
122 | + | Part2.Position = Vector3.new(-26.8999996, 0.600005269, -16.4399662) |
123 | - | GetService = function(self,s) |
123 | + | Part2.Color = Color3.new(0.388235, 0.372549, 0.384314) |
124 | - | return self[s] |
124 | + | CylinderMesh3.Parent = Part2 |
125 | Part4.Name = "Head" | |
126 | - | Players = FakeService({ |
126 | + | Part4.Parent = Model0 |
127 | - | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player) |
127 | + | Part4.BrickColor = BrickColor.new("Really red") |
128 | - | },"Players"), |
128 | + | Part4.Anchored = true |
129 | - | UserInputService = FakeService(UIS,"UserInputService"), |
129 | + | Part4.Size = Vector3.new(5, 1.20000005, 5) |
130 | - | ContextActionService = FakeService(CAS,"ContextActionService"), |
130 | + | Part4.CFrame = CFrame.new(-26.8999996, 1.80000603, -16.4399662, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
131 | - | } |
131 | + | Part4.Color = Color3.new(1, 0, 0) |
132 | - | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) |
132 | + | Part4.Position = Vector3.new(-26.8999996, 1.80000603, -16.4399662) |
133 | - | g.service = g.GetService |
133 | + | Part4.Color = Color3.new(1, 0, 0) |
134 | CylinderMesh5.Parent = Part4 | |
135 | - | g.RunService = FakeService({ |
135 | + | CylinderMesh5.Scale = Vector3.new(0.75, 1, 0.75) |
136 | - | RenderStepped = _rg:GetService("RunService").Heartbeat, |
136 | + | CylinderMesh5.Scale = Vector3.new(0.75, 1, 0.75) |
137 | - | BindToRenderStep = function(self,name,_,fun) |
137 | + | Script6.Parent = Part4 |
138 | - | self._btrs[name] = self.Heartbeat:Connect(fun) |
138 | + | table.insert(cors,sandbox(Script6,function() |
139 | local ONOES = Instance.new("Sound") | |
140 | - | UnbindFromRenderStep = function(self,name) |
140 | + | ONOES.SoundId = "rbxassetid://2633517495" |
141 | - | self._btrs[name]:Disconnect() |
141 | + | ONOES.Volume = 10 |
142 | ONOES.EmitterSize = math.huge | |
143 | - | },"RunService") |
143 | + | ONOES.Looped = false |
144 | ONOES.archivable = false | |
145 | - | setmetatable(g,{ |
145 | + | ONOES.Parent = workspace |
146 | - | __index=function(self,s) |
146 | + | |
147 | - | return _rg:GetService(s) or typeof(_rg[s])=="function" |
147 | + | --game:GetService("Debris").MaxItems = 350 -- Decrease if you have a laggy computer |
148 | - | and function(_,...)return _rg[s](_rg,...)end or _rg[s] |
148 | + | local s = Instance.new("Sound") |
149 | s.Volume = 10 | |
150 | - | __newindex = fsmt.__newindex, |
150 | + | s.EmitterSize = math.huge |
151 | - | __call = fsmt.__call |
151 | + | sounds = {"rbxasset://sounds\\rocket shot.wav", "rbxasset://sounds\\collide.wav"} |
152 | local workspace = game.Workspace | |
153 | - | --Changing owner to fake player object to support owner:GetMouse() |
153 | + | |
154 | - | game,owner = g,g.Players.LocalPlayer |
154 | + | function check(object) |
155 | ||
156 | if object.className == "Model" and object:findFirstChild("Humanoid") == nil then | |
157 | - | Player = owner |
157 | + | for i, v in ipairs(object:getChildren()) do |
158 | - | PlayerGui = Player.PlayerGui |
158 | + | check(v) |
159 | - | Cam = workspace.CurrentCamera |
159 | + | |
160 | - | Backpack = Player.Backpack |
160 | + | |
161 | - | Character = Player.Character |
161 | + | |
162 | - | Humanoid = Character.Humanoid |
162 | + | if object:IsA("Part") then |
163 | - | Mouse = Player:GetMouse() |
163 | + | local soundclone = s:Clone() |
164 | - | RootPart = Character["HumanoidRootPart"] |
164 | + | soundclone.SoundId = sounds[math.random(1, 2)] |
165 | - | Torso = Character["Torso"] |
165 | + | game:GetService("Debris"):AddItem(object, 300) |
166 | - | Head = Character["Head"] |
166 | + | soundclone.Pitch = math.random(9, 12)/10 |
167 | - | RightArm = Character["Right Arm"] |
167 | + | soundclone.Parent = object |
168 | - | LeftArm = Character["Left Arm"] |
168 | + | delay(0.1, function() soundclone:Play() end) |
169 | - | RightLeg = Character["Right Leg"] |
169 | + | delay(0, function() |
170 | - | LeftLeg = Character["Left Leg"] |
170 | + | for i = 1, 15*1.5 do |
171 | - | RootJoint = RootPart["RootJoint"] |
171 | + | local Model = Instance.new("Model",workspace) |
172 | - | Neck = Torso["Neck"] |
172 | + | local Cloud1 = Instance.new("Part") |
173 | - | RightShoulder = Torso["Right Shoulder"] |
173 | + | local Cloud2 = Instance.new("Part") |
174 | - | LeftShoulder = Torso["Left Shoulder"] |
174 | + | local Cloud1Mesh = Instance.new("SpecialMesh") |
175 | - | RightHip = Torso["Right Hip"] |
175 | + | local Cloud2Mesh = Instance.new("SpecialMesh") |
176 | - | LeftHip = Torso["Left Hip"] |
176 | + | local Sound = Instance.new("Sound",workspace) |
177 | local sky = Instance.new("Sky") | |
178 | - | Character = Player.Character |
178 | + | NUKE_COLOR = 24 --Only BrickColor codes. |
179 | - | Humanoid = Character.Humanoid |
179 | + | CLOUD_TRANSPARENCY = 0.25 |
180 | - | --------- |
180 | + | |
181 | - | plr = game.Players.LocalPlayer |
181 | + | wait(0.001) |
182 | - | chara = plr.Character |
182 | + | |
183 | - | mouse = plr:GetMouse() |
183 | + | function radiation(hit) |
184 | - | Create = Instance.new |
184 | + | local h = hit.Parent:findFirstChild("Humanoid") |
185 | - | Huge = math.huge |
185 | + | local DAMAGE = 10 |
186 | if h~=nil then | |
187 | h.WalkSpeed = 5 | |
188 | h.Parent["Right Leg"]:Destroy() | |
189 | h.Parent["Left Arm"]:Destroy() | |
190 | - | local shadowhead = Create("Part",chara.Head) |
190 | + | for i =1,h.MaxHealth do |
191 | - | shadowhead.BrickColor = BrickColor.new("Really black") |
191 | + | h.Health = h.Health - DAMAGE |
192 | - | shadowhead.Size = Vector3.new(1.2, 0.6, 1) |
192 | + | |
193 | - | shadowhead.CanCollide = false |
193 | + | |
194 | - | local shadowheadmesh = Create("SpecialMesh",shadowhead) |
194 | + | |
195 | - | shadowheadmesh.MeshType = "Head" |
195 | + | |
196 | - | shadowheadmesh.Scale = Vector3.new(1.26, 1.5, 1.26) |
196 | + | function unanchor (m) |
197 | - | local weld2 = Create("Weld",shadowhead) |
197 | + | for _,i in pairs (m:GetChildren()) do |
198 | - | weld2.Part0 = shadowhead |
198 | + | if i:IsA("Part","Model","Union","WedgePart","CornerWedgePart") then |
199 | - | weld2.Part1 = chara.Head |
199 | + | -- i.Anchored = false |
200 | - | weld2.C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
200 | + | local Fire = Instance.new("Fire") |
201 | Fire.Parent = i | |
202 | - | Player = game:GetService("Players").LocalPlayer |
202 | + | Fire.Size = math.random(5,10) |
203 | - | PlayerGui = Player.PlayerGui |
203 | + | i.Material = "CorrodedMetal" |
204 | - | Cam = workspace.CurrentCamera |
204 | + | i:BreakJoints() |
205 | - | Backpack = Player.Backpack |
205 | + | i.BrickColor = BrickColor.new(26) |
206 | - | Character = Player.Character |
206 | + | i.Touched:connect(radiation) |
207 | - | char = Player.Character |
207 | + | |
208 | - | Humanoid = Character.Humanoid |
208 | + | |
209 | - | Mouse = Player:GetMouse() |
209 | + | unanchor(i) |
210 | - | RootPart = Character["HumanoidRootPart"] |
210 | + | |
211 | - | Torso = Character["Torso"] |
211 | + | |
212 | - | Head = Character["Head"] |
212 | + | |
213 | - | RightArm = Character["Right Arm"] |
213 | + | unanchor(game.Workspace) |
214 | - | LeftArm = Character["Left Arm"] |
214 | + | |
215 | - | RightLeg = Character["Right Leg"] |
215 | + | Sound.SoundId = "http://www.roblox.com/asset?id=2633517495" |
216 | - | LeftLeg = Character["Left Leg"] |
216 | + | Sound.PlaybackSpeed = 0.2 |
217 | - | RootJoint = RootPart["RootJoint"] |
217 | + | Sound.Playing = true |
218 | - | Neck = Torso["Neck"] |
218 | + | Sound.Volume = 10 |
219 | - | RightShoulder = Torso["Right Shoulder"] |
219 | + | |
220 | - | LeftShoulder = Torso["Left Shoulder"] |
220 | + | Model.Name = "Mushroom Cloud" |
221 | - | RightHip = Torso["Right Hip"] |
221 | + | Cloud1.Parent = Model |
222 | - | LeftHip = Torso["Left Hip"] |
222 | + | Cloud1.Anchored = true |
223 | Cloud1.CanCollide = false | |
224 | - | local Orin = "http://www.roblox.com/asset/?id=10521899" |
224 | + | Cloud1.Locked = true |
225 | - | Head.face.Texture = Orin |
225 | + | Cloud1Mesh.Parent = Cloud1 |
226 | - | function weld(a, b, acf) |
226 | + | Cloud1Mesh.MeshType = "FileMesh" |
227 | - | local w = Instance.new("Weld", a) |
227 | + | Cloud1Mesh.MeshId = "http://www.roblox.com/asset/?id=1095708" |
228 | - | w.Part0 = a |
228 | + | Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(95,300,195) --1999 |
229 | - | w.Part1 = b |
229 | + | Cloud2.Parent = Model |
230 | - | w.C0 = acf |
230 | + | Cloud2.Anchored = true |
231 | Cloud2.CanCollide = false | |
232 | Cloud2.Locked = true | |
233 | - | char.Humanoid.MaxHealth = 9999 |
233 | + | Cloud2.Position = Cloud2.Position + Vector3.new(0,587,0) |
234 | - | char.Humanoid.Health = 9999 |
234 | + | Cloud2Mesh.Parent = Cloud2 |
235 | Cloud2Mesh.MeshType = "FileMesh" | |
236 | - | char.Humanoid.Changed:Connect(function() |
236 | + | Cloud2Mesh.MeshId = "http://www.roblox.com/asset/?id=1095708" |
237 | Cloud2Mesh.Scale = Cloud2Mesh.Scale + Vector3.new(399,399,649) | |
238 | Cloud1.Transparency = CLOUD_TRANSPARENCY | |
239 | - | char.Humanoid.Health = 9999 |
239 | + | Cloud2.Transparency = CLOUD_TRANSPARENCY |
240 | Cloud1.BrickColor = BrickColor.new(NUKE_COLOR) | |
241 | Cloud2.BrickColor = BrickColor.new(NUKE_COLOR) | |
242 | - | -------------------------------- |
242 | + | sky.Parent = game.Lighting |
243 | - | char.Head.face.Texture = "rbxassetid://10521899" |
243 | + | sky.Name = "NukeSky" |
244 | - | -------------------------------- |
244 | + | sky.CelestialBodiesShown = true |
245 | sky.SkyboxBk = "http://www.roblox.com/asset/?version=1&id=1012890" | |
246 | sky.SkyboxDn = "http://www.roblox.com/asset/?version=1&id=1012891" | |
247 | sky.SkyboxFt = "http://www.roblox.com/asset/?version=1&id=1012887" | |
248 | sky.SkyboxLf = "http://www.roblox.com/asset/?version=1&id=1012889" | |
249 | - | ------------------------------------------------------- |
249 | + | sky.SkyboxRt = "http://www.roblox.com/asset/?version=1&id=1012888" |
250 | sky.SkyboxUp = "http://www.roblox.com/asset/?version=1&id=1014449" | |
251 | - | local FavIDs = { |
251 | + | explosion = Instance.new("Explosion") |
252 | - | 340106355, --Nefl Crystals |
252 | + | explosion.Parent = game.Workspace |
253 | - | 927529620, --Dimension |
253 | + | explosion.BlastRadius = 9999999999999 |
254 | - | 876981900, --Fantasy |
254 | + | explosion.BlastPressure = 10000000 |
255 | - | 398987889, --Ordinary Days |
255 | + | game.Lighting.Brightness = 999 |
256 | - | 1117396305, --Oh wait, it's you. |
256 | + | game.Lighting.OutdoorAmbient = Color3.new(1,0,0) |
257 | - | 885996042, --Action Winter Journey |
257 | + | wait (1) --Fireball |
258 | - | 919231299, --Sprawling Idiot Effigy |
258 | + | Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,200,0) --200 |
259 | - | 743466274, --Good Day Sunshine |
259 | + | wait (0.25) |
260 | - | 727411183, --Knife Fight |
260 | + | Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,200,0) --400 |
261 | - | 1402748531, --The Earth Is Counting On You! |
261 | + | wait (0.25) |
262 | - | 595230126 --Robot Language |
262 | + | Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,200,0) --600 |
263 | - | } |
263 | + | wait (0.25) |
264 | Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,200,0) --800 | |
265 | wait (0.25) | |
266 | Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,200,0) --1000 | |
267 | - | --The reality of my life isn't real but a Universe -makhail07 |
267 | + | wait (0.25) |
268 | - | wait(0.2) |
268 | + | Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,200,0) --1200 |
269 | - | local plr = game:service'Players'.LocalPlayer |
269 | + | wait (0.25) |
270 | - | print('Local User is '..plr.Name) |
270 | + | Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,200,0) --1400 |
271 | - | print('SCRIPTNAME Loaded') |
271 | + | wait (0.25) |
272 | - | print('SCRIPT DESCRIPTION') |
272 | + | Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,200,0) --1600 |
273 | - | local char = plr.Character |
273 | + | wait (0.25) |
274 | - | local hum = char.Humanoid |
274 | + | Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,100,0) --1700 |
275 | - | local hed = char.Head |
275 | + | wait (30) --End phase of the nuke |
276 | - | local root = char.HumanoidRootPart |
276 | + | game.Lighting.Ambient = Color3.new(0,0,0) |
277 | - | local rootj = root.RootJoint |
277 | + | game.Lighting.OutdoorAmbient = Color3.new(127 / 255,127 / 255,127 / 255) |
278 | - | local tors = char.Torso |
278 | + | sky:Destroy() |
279 | - | local ra = char["Right Arm"] |
279 | + | game.Lighting.Brightness = 1 |
280 | - | local la = char["Left Arm"] |
280 | + | Cloud1.BrickColor = BrickColor.new(1) |
281 | - | local rl = char["Right Leg"] |
281 | + | Cloud2.BrickColor = BrickColor.new(1) |
282 | - | local ll = char["Left Leg"] |
282 | + | Cloud1.Transparency = 0.6 |
283 | - | local neck = tors["Neck"] |
283 | + | Cloud2.Transparency = 0.6 |
284 | - | local mouse = plr:GetMouse() |
284 | + | wait (5) |
285 | - | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) |
285 | + | Cloud1.Transparency = 0.7 |
286 | - | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) |
286 | + | Cloud2.Transparency = 0.7 |
287 | - | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) |
287 | + | wait (5) |
288 | - | local maincolor = BrickColor.new("New Yeller") |
288 | + | Cloud1.Transparency = 0.8 |
289 | Cloud2.Transparency = 0.8 | |
290 | - | ------------------------------------------------------- |
290 | + | wait (5) |
291 | - | --Start Good Stuff-- |
291 | + | Cloud1.Transparency = 0.9 |
292 | - | ------------------------------------------------------- |
292 | + | Cloud2.Transparency = 0.9 |
293 | - | cam = game.Workspace.CurrentCamera |
293 | + | wait (120) |
294 | - | CF = CFrame.new |
294 | + | Cloud1:Destroy() |
295 | - | angles = CFrame.Angles |
295 | + | Cloud2:Destroy() |
296 | - | attack = false |
296 | + | --BrickColor codes: http://wiki.roblox.com/index.php?title=BrickColor_codes |
297 | - | Euler = CFrame.fromEulerAnglesXYZ |
297 | + | local e = Instance.new("Explosion") |
298 | - | Rad = math.rad |
298 | + | e.Parent = workspace |
299 | - | IT = Instance.new |
299 | + | e.BlastPressure = 1e4*object:getMass() |
300 | - | BrickC = BrickColor.new |
300 | + | e.Position = object.Position |
301 | - | Cos = math.cos |
301 | + | object.Anchored = true |
302 | - | Acos = math.acos |
302 | + | object:BreakJoints() |
303 | - | Sin = math.sin |
303 | + | wait(1.5) |
304 | - | Asin = math.asin |
304 | + | |
305 | - | Abs = math.abs |
305 | + | |
306 | - | Mrandom = math.random |
306 | + | |
307 | - | Floor = math.floor |
307 | + | |
308 | end | |
309 | ||
310 | local deb = true | |
311 | - | ------------------------------------------------------- |
311 | + | script.Parent.Touched:connect(function(hit) |
312 | - | --End Good Stuff-- |
312 | + | if not deb then return end |
313 | - | ------------------------------------------------------- |
313 | + | deb = false |
314 | - | necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
314 | + | ONOES:Play() |
315 | - | RSH, LSH = nil, nil |
315 | + | script.Parent.Parent.Name = "" |
316 | - | RW = Instance.new("Weld") |
316 | + | local c = script.Parent.CFrame |
317 | - | LW = Instance.new("Weld") |
317 | + | for i = 0, 1, 0.05 do |
318 | - | RH = tors["Right Hip"] |
318 | + | script.Parent.CFrame = c - Vector3.new(0, i, 0) |
319 | - | LH = tors["Left Hip"] |
319 | + | |
320 | - | RSH = tors["Right Shoulder"] |
320 | + | |
321 | - | LSH = tors["Left Shoulder"] |
321 | + | local m = Instance.new("Message") |
322 | - | RSH.Parent = nil |
322 | + | m.Text = "TACTICAL NUKE INCOMING!!" |
323 | - | LSH.Parent = nil |
323 | + | m.Parent = workspace |
324 | - | RW.Name = "RW" |
324 | + | local color = game.Lighting.Ambient |
325 | - | RW.Part0 = tors |
325 | + | |
326 | - | RW.C0 = CF(1.5, 0.5, 0) |
326 | + | while true do |
327 | - | RW.C1 = CF(0, 0.5, 0) |
327 | + | game.Lighting.Brightness = 2 |
328 | - | RW.Part1 = ra |
328 | + | game.Lighting.Ambient = Color3.new(100, 0, 0) |
329 | - | RW.Parent = tors |
329 | + | game.Lighting.ColorShift_Top = Color3.new(1, 0, 0) |
330 | - | LW.Name = "LW" |
330 | + | game.Lighting.ColorShift_Bottom = Color3.new(1, 0, 0) |
331 | - | LW.Part0 = tors |
331 | + | |
332 | - | LW.C0 = CF(-1.5, 0.5, 0) |
332 | + | game.Lighting.Brightness = 1 |
333 | - | LW.C1 = CF(0, 0.5, 0) |
333 | + | game.Lighting.Ambient = color |
334 | - | LW.Part1 = la |
334 | + | game.Lighting.ColorShift_Top = Color3.new(0, 0, 0) |
335 | - | LW.Parent = tors |
335 | + | game.Lighting.ColorShift_Bottom = Color3.new(0, 0, 0) |
336 | - | Effects = {} |
336 | + | |
337 | - | ------------------------------------------------------- |
337 | + | |
338 | - | --Start HeartBeat-- |
338 | + | |
339 | - | ------------------------------------------------------- |
339 | + | wait(5) |
340 | - | ArtificialHB = Instance.new("BindableEvent", script) |
340 | + | m:remove() |
341 | - | ArtificialHB.Name = "Heartbeat" |
341 | + | script.Parent.Parent.Name = "OOF" |
342 | - | script:WaitForChild("Heartbeat") |
342 | + | for i, v in ipairs(workspace:getChildren()) do |
343 | check(v) | |
344 | - | frame = 1 / 60 |
344 | + | |
345 | - | tf = 0 |
345 | + | |
346 | - | allowframeloss = false |
346 | + | |
347 | - | tossremainder = false |
347 | + | |
348 | end)) | |
349 | for i,v in pairs(mas:GetChildren()) do | |
350 | - | lastframe = tick() |
350 | + | v.Parent = workspace |
351 | - | script.Heartbeat:Fire() |
351 | + | pcall(function() v:MakeJoints() end) |
352 | end | |
353 | mas:Destroy() | |
354 | - | game:GetService("RunService").Heartbeat:connect(function(s, p) |
354 | + | for i,v in pairs(cors) do |
355 | - | tf = tf + s |
355 | + | |
356 | - | if tf >= frame then |
356 | + | pcall(v) |
357 | - | if allowframeloss then |
357 | + | |
358 | - | script.Heartbeat:Fire() |
358 | + | end |